Fix creation of tarball.

This commit is contained in:
Andrius Štikonas 2009-04-20 14:18:15 +03:00
父節點 a2fbf04d18
當前提交 4595fbc7f6
共有 1 個檔案被更改,包括 4 行新增3 行删除

7
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