diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-07-21 17:13:33 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-07-21 17:13:33 -0700 |
commit | a83cb9160fc6619df7dc81358a1f9e550bc83169 (patch) | |
tree | 17f64afc16f8b9cad342f576accb7228453bb38c /tools/jenkins | |
parent | b322d4a89e4ee1e5472ac134d9d16a59bbe87a82 (diff) |
use export instead
Diffstat (limited to 'tools/jenkins')
-rwxr-xr-x | tools/jenkins/run_distribution.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/jenkins/run_distribution.sh b/tools/jenkins/run_distribution.sh index 2824c31e2a..eea25b62e6 100755 --- a/tools/jenkins/run_distribution.sh +++ b/tools/jenkins/run_distribution.sh @@ -85,8 +85,8 @@ elif [ "$platform" == "macos" ]; then # i.e. curl -fsSL https://goo.gl/getgrpc | bash -s $language # need to resolve a bunch of environment and privilege issue on the jenkins # mac machine itself - OLD_PATH=$PATH - PATH=$brew_root/bin:$PATH + export OLD_PATH=$PATH + export PATH=$brew_root/bin:$PATH cd $brew_root brew tap homebrew/dupes brew install zlib @@ -139,7 +139,7 @@ elif [ "$platform" == "macos" ]; then rm -rf $brew_root # Make sure the system brew installation is still unaffected - PATH=$OLD_PATH + export PATH=$OLD_PATH brew list -l else |