From 08e5de9641597470b7386d7598c5ac8f07071d39 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Tue, 7 Apr 2009 01:08:38 +0000 Subject: [PATCH] fixed bug in buildcore.sh git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index bde67f985..7623fe9ee 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -13,6 +13,7 @@ UPLOADUSER=bp-sawyers set -x +CURRENTDIR=`pwd` export HOME=/root if [ -n "$1" ]; then REL=$1 @@ -28,11 +29,11 @@ else CORE="core-snap" TARNAME=core-rpms-snap.tar.bz2 fi -DESTDIR=`pwd`/$REL/$CORE +DESTDIR=$CURRENTDIR/$REL/$CORE if [ "$2" != "promote" ]; then # very long if statement to not do builds if we are promoting mkdir -p $DESTDIR -SRCDIR=`pwd`/$REL/core-snap-srpms +SRCDIR=$CURRENTDIR/$REL/core-snap-srpms mkdir -p $SRCDIR GREP=grep UPLOAD=0