Skip to content

Commit

Permalink
Allow for missing nav_drawer.png
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvire committed Feb 14, 2023
1 parent 66cd22d commit ba0fce1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ EOL
popd

# combine json objects
jq -cM -s '.[0] * .[1] * .[2]' "$NOTIFY_LANG_TMP" "$NOTIFY_IMAGES_TMP" "$NOTIFY_LISTING_TMP" > "${ASSET_OUTPUT_DIR}/notify.json"
if [ -s "${NOTIFY_IMAGES_TMP}" ]; then
jq -cM -s '.[0] * .[1] * .[2]' "$NOTIFY_LANG_TMP" "$NOTIFY_IMAGES_TMP" "$NOTIFY_LISTING_TMP" > "${ASSET_OUTPUT_DIR}/notify.json"
else
jq -cM -s '.[0] * .[1]' "$NOTIFY_LANG_TMP" "$NOTIFY_LISTING_TMP" > "${ASSET_OUTPUT_DIR}/notify.json"
fi

# Not exported so clear it
VERSION_CODE=""
Expand Down

0 comments on commit ba0fce1

Please sign in to comment.