Fixing Issue #367: Start script could expose sensitive information
This commit is contained in:
parent
c46b6d80aa
commit
67d517c24b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,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
|
||||||
tar czf public/source.tar.gz --exclude='source.tar.gz' -X .gitignore *
|
tar czf public/source.tar.gz `git ls-tree -r master | awk '{print $4}'`
|
||||||
fi
|
fi
|
||||||
if [ ! -e public/source.tar.gz ]; then
|
if [ ! -e public/source.tar.gz ]; then
|
||||||
echo "Error: Can't find, or even create, public/source.tar.gz. Exiting" >&2
|
echo "Error: Can't find, or even create, public/source.tar.gz. Exiting" >&2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue