Merge pull request #2594 from stanley-cheung/add_homebrew_to_jenkins

Minor fix to run_distribution script
pull/2592/head^2
Stanley Cheung 9 years ago
commit d1408e7163
  1. 6
      tools/jenkins/run_distribution.sh

@ -85,8 +85,8 @@ elif [ "$platform" == "macos" ]; then
# i.e. curl -fsSL https://goo.gl/getgrpc | bash -s $language # i.e. curl -fsSL https://goo.gl/getgrpc | bash -s $language
# need to resolve a bunch of environment and privilege issue on the jenkins # need to resolve a bunch of environment and privilege issue on the jenkins
# mac machine itself # mac machine itself
OLD_PATH=$PATH export OLD_PATH=$PATH
PATH=$brew_root/bin:$PATH export PATH=$brew_root/bin:$PATH
cd $brew_root cd $brew_root
brew tap homebrew/dupes brew tap homebrew/dupes
brew install zlib brew install zlib
@ -139,7 +139,7 @@ elif [ "$platform" == "macos" ]; then
rm -rf $brew_root rm -rf $brew_root
# Make sure the system brew installation is still unaffected # Make sure the system brew installation is still unaffected
PATH=$OLD_PATH export PATH=$OLD_PATH
brew list -l brew list -l
else else

Loading…
Cancel
Save