Fixed bug 2919401 - multiple versions of the xCAT rpm in the aix tarball

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-12-23 11:54:00 +00:00
parent ebe4892e1b
commit 637486f053

View File

@ -55,6 +55,7 @@ REL=`basename $D`
XCATCORE="xcat-core"
svn up Version
VER=`cat Version`
SHORTVER=`cat Version|cut -d. -f 1,2`
if [ "$PROMOTE" = 1 ]; then
CORE="xcat-core"
if [ "$OSNAME" = "AIX" ]; then
@ -180,8 +181,8 @@ fi
if [ "$OSNAME" != "AIX" ]; then
if $GREP -E '^[UAD] +xCATsn/' $SVNUP; then
UPLOAD=1
rm -f $DESTDIR/xCATsn-$REL*rpm
rm -f $SRCDIR/xCATsn-$REL*rpm
rm -f $DESTDIR/xCATsn-$SHORTVER*rpm
rm -f $SRCDIR/xCATsn-$SHORTVER*rpm
./makexcatsnrpm x86_64
mv $source/RPMS/*/xCATsn-$VER*rpm $DESTDIR
mv $source/SRPMS/xCATsn-$VER*rpm $SRCDIR
@ -196,8 +197,8 @@ fi
if $GREP -E '^[UAD] +xCAT/' $SVNUP; then
UPLOAD=1
rm -f $DESTDIR/xCAT-$REL*rpm
rm -f $SRCDIR/xCAT-$REL*rpm
rm -f $DESTDIR/xCAT-$SHORTVER*rpm
rm -f $SRCDIR/xCAT-$SHORTVER*rpm
if [ "$OSNAME" = "AIX" ]; then
./makexcatrpm
mv $source/RPMS/*/xCAT-$VER*rpm $DESTDIR