aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/vendor-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/vendor-install.sh')
-rw-r--r--Library/Homebrew/cmd/vendor-install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh
index 227731244..2e99c3b46 100644
--- a/Library/Homebrew/cmd/vendor-install.sh
+++ b/Library/Homebrew/cmd/vendor-install.sh
@@ -45,6 +45,11 @@ fetch() {
curl_args[${#curl_args[*]}]="--progress-bar"
fi
+ if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "100600" ]]
+ then
+ curl_args[${#curl_args[*]}]="--insecure"
+ fi
+
temporary_path="$CACHED_LOCATION.incomplete"
mkdir -p "$HOMEBREW_CACHE"