]> git.ozlabs.org Git - yaboot.git/blobdiff - ybin/ofpath
Fix ofpath arch detect fix
[yaboot.git] / ybin / ofpath
index f3e81ba819e39d0078e1fd36ed05a386bdde5d6b..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 ] ; 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