diff --git a/script/server b/script/server index b6aed9eb2d8a098e39eec7ea2e6180d4d0469638..0762c78cf2f9bcff5e340ee4f175f5c855901086 100755 --- a/script/server +++ b/script/server @@ -76,7 +76,7 @@ fi # Force AGPL 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}'` fi if [ ! -e public/source.tar.gz ]; then