Bugfix (only visible on Ubuntu)

This commit is contained in:
Alec Leamas 2010-12-06 18:18:49 +01:00
parent 4926e185ef
commit 818ccf92b0

View file

@ -76,7 +76,7 @@ fi
# Force AGPL # Force AGPL
if [ -w public -a ! -e public/source.tar.gz ]; then if [ -w public -a ! -e public/source.tar.gz ]; then
branch=$( git branch | awk '/^*/ {print $2}') branch=$( git branch | awk '/^[*]/ {print $2}')
tar czf public/source.tar.gz `git ls-tree -r $branch | awk '{print $4}'` tar czf public/source.tar.gz `git ls-tree -r $branch | awk '{print $4}'`
fi fi
if [ ! -e public/source.tar.gz ]; then if [ ! -e public/source.tar.gz ]; then