diff options
author | Jason Wray <jason@mapbox.com> | 2019-02-20 16:05:38 -0800 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-02-26 11:19:48 -0800 |
commit | 554992d733f69ae9b85db2ef8e01b01b273dfc73 (patch) | |
tree | 053ae45960f10a1097ab8effc50783e6898cf00a | |
parent | 13fb375823f1365f87056cea09ab4525e2880fd2 (diff) | |
download | qtlocation-mapboxgl-554992d733f69ae9b85db2ef8e01b01b273dfc73.tar.gz |
[ios, build] Only install packaging dependencies if not installed
-rwxr-xr-x | platform/ios/scripts/install-packaging-dependencies.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/ios/scripts/install-packaging-dependencies.sh b/platform/ios/scripts/install-packaging-dependencies.sh index 0a6abad701..212de9392b 100755 --- a/platform/ios/scripts/install-packaging-dependencies.sh +++ b/platform/ios/scripts/install-packaging-dependencies.sh @@ -9,7 +9,14 @@ function finish { >&2 echo -en "\033[0m"; } trap finish EXIT step "Installing packaging dependencies…" -brew install awscli wget + +if [ -z `which aws` ]; then + brew install awscli +fi + +if [ -z `which wget` ]; then + brew install wget +fi if [ -z `which jazzy` ]; then step "Installing jazzy…" |