]> git.ozlabs.org Git - yaboot.git/blobdiff - ybin/ofpath
Make ofpath work on powerpc-64
[yaboot.git] / ybin / ofpath
index f3e81ba819e39d0078e1fd36ed05a386bdde5d6b..f3d5a9064ab19c13fc484aef03f097a87364b491 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 -o `uname -m` != pp64 ] ; then
     echo 1>&2 "$PRG: This utility will only work on PowerPC hardware"
     exit 1
 fi