summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-01-21 14:35:59 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2015-01-21 14:35:59 -0500
commitc18089b6d7964fc62b9c0ce1c0521b9b55d5012b (patch)
treedcf9cdb9c90ad39280f7f070f52c8fdd913d7242 /Makefile
parentbee9ada450ba0a436837bbff71f960454b231835 (diff)
downloadqtlocation-mapboxgl-c18089b6d7964fc62b9c0ce1c0521b9b55d5012b.tar.gz
syntax fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bacf373558..f760ccca7a 100644
--- a/Makefile
+++ b/Makefile
@@ -119,14 +119,14 @@ render: build/render/Makefile
clear_xcode_cache:
ifeq ($(PLATFORM), osx)
@CUSTOM_DD=`defaults read com.apple.dt.Xcode IDECustomDerivedDataLocation 2>/dev/null`; \
- if [[ $$CUSTOM_DD ]]; then \
+ if [ $$CUSTOM_DD ]; then \
echo clearing files in $$CUSTOM_DD older than one day; \
find $$CUSTOM_DD/mapboxgl-app-* -mtime +1 | xargs rm -rf; \
fi; \
- if [[ -d ~/Library/Developer/Xcode/DerivedData/ ]] && [[ ! $$CUSTOM_DD ]]; then \
+ if [ -d ~/Library/Developer/Xcode/DerivedData/ ] && [ ! $$CUSTOM_DD ]; then \
echo 'clearing files in ~/Library/Developer/Xcode/DerivedData/mapboxgl-app-* older than one day'; \
find ~/Library/Developer/Xcode/DerivedData/mapboxgl-app-* -mtime +1 | xargs rm -rf; \
- fi; \
+ fi
endif
xproj: build/macosx/mapboxgl-app.xcodeproj