From df8ae3393a395d0fab35f7eba5e8f1534d59836a Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Mon, 7 Dec 2009 14:40:27 +0000 Subject: [PATCH] fix build of xCAT-UI in buildcore.sh for aix build git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index 0f7882e5e..f603492fc 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -41,7 +41,9 @@ for i in $*; do export $i done -export HOME=/root # This is so rpm and gpg will know home, even in sudo +if [ "$OSNAME" != "AIX" ]; then + export HOME=/root # This is so rpm and gpg will know home, even in sudo +fi cd `dirname $0` # Strip the /src/xcat-core from the end of the dir to get the next dir up and use as the release @@ -136,7 +138,7 @@ if $GREP xCAT-UI $SVNUP; then rm -f $DESTDIR/xCAT-UI* rm -f $SRCDIR/xCAT-UI* ./makeuirpm - mv $source/RPMS/$NOARCH/xCAT-UI-$VER*rpm $DESTDIR + mv $source/RPMS/noarch/xCAT-UI-$VER*rpm $DESTDIR mv $source/SRPMS/xCAT-UI-$VER*rpm $SRCDIR fi if [ "$OSNAME" = "AIX" ]; then