From ab7cda033ac4ba7a6096d790df22a3c6ff149b19 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Wed, 16 Dec 2009 15:27:33 +0000 Subject: [PATCH] fixed bug in build script when changing to a new dot release git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index f603492fc..2c62336e4 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -135,8 +135,8 @@ fi if $GREP xCAT-UI $SVNUP; then UPLOAD=1 - rm -f $DESTDIR/xCAT-UI* - rm -f $SRCDIR/xCAT-UI* + rm -f $DESTDIR/xCAT-UI*rpm + rm -f $SRCDIR/xCAT-UI*rpm ./makeuirpm mv $source/RPMS/noarch/xCAT-UI-$VER*rpm $DESTDIR mv $source/SRPMS/xCAT-UI-$VER*rpm $SRCDIR @@ -185,8 +185,8 @@ fi if [ "$OSNAME" != "AIX" ]; then if $GREP -E '^[UAD] +xCATsn/' $SVNUP; then UPLOAD=1 - rm -f $DESTDIR/xCATsn-$VER*rpm - rm -f $SRCDIR/xCATsn-$VER*rpm + rm -f $DESTDIR/xCATsn-$REL*rpm + rm -f $SRCDIR/xCATsn-$REL*rpm ./makexcatsnrpm x86_64 mv $source/RPMS/*/xCATsn-$VER*rpm $DESTDIR mv $source/SRPMS/xCATsn-$VER*rpm $SRCDIR @@ -201,8 +201,8 @@ fi if $GREP -E '^[UAD] +xCAT/' $SVNUP; then UPLOAD=1 - rm -f $DESTDIR/xCAT-$VER*rpm - rm -f $SRCDIR/xCAT-$VER*rpm + rm -f $DESTDIR/xCAT-$REL*rpm + rm -f $SRCDIR/xCAT-$REL*rpm if [ "$OSNAME" = "AIX" ]; then ./makexcatrpm mv $source/RPMS/*/xCAT-$VER*rpm $DESTDIR