fix script

pull/1359/head^2
Gordon Williams 2022-01-27 14:34:39 +00:00
parent e0c1c634ee
commit a0e631a9dd
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ for app in apps/*/; do
done
echo "]" >> "$outfile"
if [ -z "$1"]; then
if [ -z "$1" ]; then
# Running with no arguments: prevent accidental commit of modified apps.json.
# You can use `create_apps.json.sh apps.json` if you really want to both
# overwrite and still commit apps.json
@ -45,4 +45,4 @@ if [ -z "$1"]; then
echo "Told git to ignore modified apps.json."
# If you want to unignore it, use
# 'git update-index --no-skip-worktree apps.json'
fi
fi