aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cli/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cli/install.sh b/src/cli/install.sh
index 60529129f..dc9f6aa4c 100644
--- a/src/cli/install.sh
+++ b/src/cli/install.sh
@@ -80,7 +80,9 @@ if [[ $target = darwin-x64 ]]; then
fi
fi
-github_repo="https://github.com/oven-sh/bun"
+GITHUB=${GITHUB-"https://github.com"}
+
+github_repo="$GITHUB/oven-sh/bun"
if [[ $target = darwin-x64 ]]; then
# If AVX2 isn't supported, use the -baseline build