Skip to content

Commit a929f43

Browse files
committed
fix bash-isms in makefiles.
1 parent ecf3c8f commit a929f43

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile.cmake-common

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $(JUCE_DIR)/.stamp-juce:
6666
fi ; \
6767
done
6868
echo "For CMake build we need another standard patch..."
69-
if [ "$(AAP_JUCE_CMAKE_SKIP_DEFAULT_PATCHES)" == "" ] ; then \
69+
if [ "$(AAP_JUCE_CMAKE_SKIP_DEFAULT_PATCHES)" = "" ] ; then \
7070
if [ "$(AAP_JUCE_CMAKE_PATCH_HOSTING)" != "" ] ; then \
7171
PREV_DIR=$(PWD) && cd $(JUCE_DIR) && git apply $(AAP_JUCE_DIR)/JUCE-support-Android-CMake-hosting.patch --ignore-space-change && cd $(PREV_DIR) ; \
7272
else \
@@ -85,7 +85,7 @@ $(APP_SRC_DIR)/.stamp-app:
8585

8686
build-aap-core:
8787
if [ ! -f $(AAP_DIR)/local.properties ] ; then \
88-
if [ "`uname`" == "Darwin" ] ; then \
88+
if [ "`uname`" = "Darwin" ] ; then \
8989
echo "sdk.dir=$(HOME)/Library/Android/sdk" > $(AAP_DIR)/local.properties ; \
9090
else \
9191
echo "sdk.dir=$(HOME)/Android/Sdk" > $(AAP_DIR)/local.properties ; \
@@ -95,7 +95,7 @@ build-aap-core:
9595

9696
build-app-cmake:
9797
if [ ! -f local.properties ] ; then \
98-
if [ "`uname`" == "Darwin" ] ; then \
98+
if [ "`uname`" = "Darwin" ] ; then \
9999
echo "sdk.dir=$(HOME)/Library/Android/sdk" > local.properties ; \
100100
else \
101101
echo "sdk.dir=$(HOME)/Android/Sdk" > local.properties ; \

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $(PROJUCER_BIN_DARWIN):
9999
.PHONY:
100100
build-aap:
101101
if [ ! -f $(AAP_DIR)/local.properties ] ; then \
102-
if [ "`uname`" == "Darwin" ] ; then \
102+
if [ "`uname`" = "Darwin" ] ; then \
103103
echo "sdk.dir=$(HOME)/Library/Android/sdk" > $(AAP_DIR)/local.properties ; \
104104
else \
105105
echo "sdk.dir=$(HOME)/Android/Sdk" > $(AAP_DIR)/local.properties ; \

0 commit comments

Comments
 (0)