Skip to content

Commit

Permalink
wrap APP_ICON with '' so that it runs fine if it's not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 26, 2024
1 parent 93a33cf commit 30f6ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.cmake-common
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ build-app-cmake:
echo "sdk.dir=$(HOME)/Android/Sdk" > local.properties ; \
fi ; \
fi
if [ -f $(APP_ICON) ] ; then \
if [ -f '$(APP_ICON)' ] ; then \
mkdir -p $(ANDROID_DIR)/app/src/main/res/drawable ; \
cp $(APP_ICON) $(ANDROID_DIR)/app/src/main/res/drawable/ic_launcher.png ; \
fi
Expand Down

0 comments on commit 30f6ae0

Please sign in to comment.