From 4595fbc7f674a452deb33eb21177c6d1b87a3b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Mon, 20 Apr 2009 14:18:15 +0300 Subject: [PATCH] Fix creation of tarball. --- pack | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pack b/pack index 30e9552..71c32ca 100755 --- a/pack +++ b/pack @@ -66,12 +66,13 @@ for BRANCH in $TRUNK $BRANCHES; do fi if [ ! $counter -eq 0 ]; then - $TAR --remove-files -cf $LCODE-$BRANCH.tar --transform s/$LCODE-temp// $LCODE-temp + cd $LCODE-temp + $TAR --remove-files -cf ../$LCODE-$BRANCH.tar wesnoth* + cd .. $BZIP2 --best $LCODE-$BRANCH.tar echo "New archive created." - else - rmdir $LCODE-temp fi + rmdir $LCODE-temp done echo -e $GREEN"Finished."$ENDCOLOR