Skip to content

Commit

Permalink
allow set proxy for github (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
usrtax authored Sep 2, 2022
1 parent 2dc07d7 commit 89524d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89524d5

Please sign in to comment.