Browse Source

Fix creation of tarball.

master
Andrius Štikonas 10 years ago
parent
commit
4595fbc7f6
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      pack

+ 4
- 3
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

Loading…
Cancel
Save