Fix creation of tarball.

This commit is contained in:
Andrius Štikonas 2009-04-20 14:18:15 +03:00
parent a2fbf04d18
commit 4595fbc7f6
1 changed files with 4 additions and 3 deletions

7
pack
View File

@ -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