summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-06-26 14:31:58 -0400
committerBill Nottingham <notting@redhat.com>2009-06-26 14:31:58 -0400
commit35a238e45ff5cb0ea2a3ba24736a408601b97789 (patch)
treef3598f466deefd9695c4781cdecbf6636d3bcfa8 /scripts
parenta7d8f0a6f6f6cc13d6b9862adc2881bdaa19558f (diff)
Set LIBDIR appropriately on PPC64.
Diffstat (limited to 'scripts')
-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