Ensure HOMEBREW_GITHUB_API_TOKEN is expored to work.

This commit is contained in:
Scott Wallace 2016-02-26 22:03:11 +00:00
parent e16cad2e11
commit b54173118e

View file

@ -128,7 +128,7 @@ fi
# Update brew if it's older than one day # Update brew if it's older than one day
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
if [ -x /usr/local/bin/brew ]; then if [ -x /usr/local/bin/brew ]; then
HOMEBREW_GITHUB_API_TOKEN=$(getkey HOMEBREW_GITHUB_API_TOKEN) export HOMEBREW_GITHUB_API_TOKEN=$(getkey HOMEBREW_GITHUB_API_TOKEN)
( (
find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec \ find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec \
bash -c "echo \"--Start: $(date)\"; \ bash -c "echo \"--Start: $(date)\"; \