]> git.ozlabs.org Git - yaboot.git/blobdiff - ybin/ofpath
Fix ofpath arch detect fix
[yaboot.git] / ybin / ofpath
index f3d5a9064ab19c13fc484aef03f097a87364b491..a5922bf893417471411f80e48a045da4f71c3c72 100755 (executable)
@@ -868,7 +868,7 @@ if [ `uname -s` != Linux ] ; then
 fi
 
 ## check for ppc, i think uname -m is safe for this...
-if [ `uname -m` != ppc -o `uname -m` != pp64 ] ; then
+if [ `uname -m` != ppc -a `uname -m` != ppc64 ] ; then
     echo 1>&2 "$PRG: This utility will only work on PowerPC hardware"
     exit 1
 fi