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:
Mike McQuaid 2017-04-23 21:04:15 +01:00
parent cfe2c3c900
commit adab59cd7a

View File

@ -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