diff options
author | Jason Wray <jason@mapbox.com> | 2019-02-20 16:05:38 -0800 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-02-26 13:09:03 -0800 |
commit | 4773e59d585c7398d80b490696dd110d8778c224 (patch) | |
tree | d4d5b0dc0eabbbd93525c4ed06ba7f2af3d83fa2 | |
parent | 29d1d0cf31a5736f855f7cd266d8e468502cbf60 (diff) | |
download | qtlocation-mapboxgl-upstream/friedbunny-cherry-picks-13986-to-kombucha.tar.gz |
[ios, build] Only install packaging dependencies if not installedupstream/friedbunny-cherry-picks-13986-to-kombucha
-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…" |