[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/2] Set LIBDIR appropriately on PPC64.



Signed-off-by: Bill Nottingham <notting redhat com>
---
 scripts/mk-images |    2 +-
 scripts/scrubtree |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 47a419b..da8796b 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 16f445c..adaa18b 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
-- 
1.6.2.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]