Fix creation of tarball.
This commit is contained in:
parent
a2fbf04d18
commit
4595fbc7f6
7
pack
7
pack
|
@ -66,12 +66,13 @@ for BRANCH in $TRUNK $BRANCHES; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $counter -eq 0 ]; then
|
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
|
$BZIP2 --best $LCODE-$BRANCH.tar
|
||||||
echo "New archive created."
|
echo "New archive created."
|
||||||
else
|
|
||||||
rmdir $LCODE-temp
|
|
||||||
fi
|
fi
|
||||||
|
rmdir $LCODE-temp
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -e $GREEN"Finished."$ENDCOLOR
|
echo -e $GREEN"Finished."$ENDCOLOR
|
||||||
|
|
Loading…
Reference in New Issue