From 7400de24fdc8c376f868c1013ebcd4f1a6128342 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Fri, 20 Feb 2009 20:54:59 +0000 Subject: [PATCH] Fixes to xcat-dep packaging script git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- builddep.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/builddep.sh b/builddep.sh index 93ef42201..5937e2e66 100755 --- a/builddep.sh +++ b/builddep.sh @@ -25,7 +25,7 @@ if [ "$1" == "NOUPLOAD" ]; then fi set -x -# Sign the rpms that are not already signed. The closed pipe warnings are normal. +# Sign the rpms that are not already signed. The "standard input reopened" warnings are normal. $XCATCOREDIR/build-utils/rpmsign.exp `find . -type f -name '*.rpm'` # Create the repodata dirs @@ -38,8 +38,10 @@ chmod -R g+w * # Build the tarball VER=`cat $XCATCOREDIR/Version` -DFNAME=../xcat-dep-$VER-snap`date +%Y.%m.%d`.tar.bz2 -tar jcvf $DFNAME dep-snap +DFNAME=xcat-dep-$VER-snap`date +%Y.%m.%d`.tar.bz2 +cd .. +tar jcvf $DFNAME xcat-dep +cd xcat-dep if [ $UPLOAD == 0 ]; then exit 0; @@ -51,5 +53,5 @@ rsync -rlv * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/ #ssh jbjohnso@shell1.sf.net "cd /home/groups/x/xc/xcat/htdocs/yum/; rm -rf dep-snap; tar jxvf $DFNAME" # Upload the tarball to the SF uploads dir for the FRS -#scp $DFNAME $UPLOADUSER@web.sourceforge.net:uploads/ -#scp $DFNAME $UPLOADUSER@frs.sourceforge.net:uploads/ +scp ../$DFNAME $UPLOADUSER@web.sourceforge.net:uploads/ +#scp ../$DFNAME $UPLOADUSER@frs.sourceforge.net:uploads/