diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-01-21 15:16:52 -0500 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-01-21 15:16:52 -0500 |
commit | ad7f68e3861e681e2847f608b7de2309edcc0484 (patch) | |
tree | a23e6718db5e56f3abd32fc15e9201e19dfb5fd2 /Makefile | |
parent | c18089b6d7964fc62b9c0ce1c0521b9b55d5012b (diff) | |
download | qtlocation-mapboxgl-ad7f68e3861e681e2847f608b7de2309edcc0484.tar.gz |
simplify clear_sqlite_cache
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -148,15 +148,9 @@ lproj: build/linux/mapboxgl-app.xcodeproj .PHONY: clear_sqlite_cache clear_sqlite_cache: ifeq ($(PLATFORM), osx) - if [ -e ~/Library/Application\ Support/Mapbox\ GL/cache.db ]; then \ - echo 'removing ~/Library/Application\ Support/Mapbox\ GL/cache.db'; \ - rm ~/Library/Application\ Support/Mapbox\ GL/cache.db; \ - fi + rm -f ~/Library/Application\ Support/Mapbox\ GL/cache.db else - if [ -e /tmp/mbgl-cache.db ]; then \ - echo 'removing /tmp/mbgl-cache.db'; \ - rm /tmp/mbgl-cache.db; \ - fi + rm -f /tmp/mbgl-cache.db endif clean: clear_sqlite_cache clear_xcode_cache |