mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew: set Bintray variables.
These are set as `HOMEBREW_BINTRAY_*` and then used by the rest of `brew` as normal.
This commit is contained in:
parent
cfe2c3c900
commit
adab59cd7a
2
bin/brew
2
bin/brew
@ -44,7 +44,7 @@ fi
|
|||||||
|
|
||||||
HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"
|
HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"
|
||||||
|
|
||||||
for VAR in EDITOR PATH
|
for VAR in EDITOR PATH BINTRAY_USER BINTRAY_KEY
|
||||||
do
|
do
|
||||||
VAR_NEW="HOMEBREW_${VAR}"
|
VAR_NEW="HOMEBREW_${VAR}"
|
||||||
[[ -n "${!VAR_NEW}" ]] && continue
|
[[ -n "${!VAR_NEW}" ]] && continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user