Only set HOMEBREW_GITHUB_API_TOKEN if it makes sense.
This commit is contained in:
parent
4639a302e0
commit
158b05543b
2
.bashrc
2
.bashrc
|
@ -59,7 +59,9 @@ pathadd ~/bin
|
|||
#--------------------------------------------------------------------------------
|
||||
# Set some variables
|
||||
#--------------------------------------------------------------------------------
|
||||
if [ -x "$(which brew 2>/dev/null)" ]; then
|
||||
export HOMEBREW_GITHUB_API_TOKEN=$(getkey HOMEBREW_GITHUB_API_TOKEN)
|
||||
fi
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue