mirror of https://github.com/espruino/BangleApps
apploader - Ignore empty folder instead of creating invalid json
parent
3bddcd402d
commit
834b606f63
|
@ -23,7 +23,7 @@ echo "[" > "$outfile"
|
|||
first=1
|
||||
for app in apps/*/; do
|
||||
echo "Processing $app...";
|
||||
if [[ "$app" =~ ^apps/_example.* ]]; then
|
||||
if [[ "$app" =~ ^apps/_example.* ]] || [ ! -e "$app/"metadata.json ]; then
|
||||
echo "Ignoring $app"
|
||||
else
|
||||
if [ $first -eq 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue