mirror of https://github.com/espruino/BangleApps
fix script
parent
e0c1c634ee
commit
a0e631a9dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue