summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mk-images2
-rwxr-xr-xscripts/scrubtree2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 47a419b10..da8796ba3 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -140,7 +140,7 @@ else
CRAMBS=""
fi
-if [ $BUILDARCH = x86_64 -o $BUILDARCH = s390x ]; then
+if [ "$BUILDARCH" = "x86_64" -o "$BUILDARCH" = "s390x" -o "$BUILDARCH" = "ppc64" ]; then
LIBDIR=lib64
else
LIBDIR=lib
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 16f445c4a..adaa18b6d 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -34,7 +34,7 @@ p=$1
ARCH=`uname -m | sed -e 's/i.86/i386/'`
-if [ $ARCH = x86_64 -o $ARCH = s390x ]; then
+if [ $ARCH = x86_64 -o $ARCH = s390x -o $ARCH = ppc64 ]; then
LIBDIR=lib64
else
LIBDIR=lib