Only set HOMEBREW_GITHUB_API_TOKEN if it makes sense.
This commit is contained in:
parent
4639a302e0
commit
158b05543b
4
.bashrc
4
.bashrc
|
@ -59,7 +59,9 @@ pathadd ~/bin
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
# Set some variables
|
# Set some variables
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
export HOMEBREW_GITHUB_API_TOKEN=$(getkey HOMEBREW_GITHUB_API_TOKEN)
|
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