diff options
| author | Mike McQuaid | 2017-11-13 10:01:54 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-11-13 10:01:54 +0000 |
| commit | 5241d07474586f85f513357a989ecbb74ea69c30 (patch) | |
| tree | a360ee81ce8eb3aa57b3a7c9e20541da95f069de /Library/Homebrew/formula_installer.rb | |
| parent | 441c212f2dd70f053ee21eac8398c5fe5dfd0551 (diff) | |
| download | brew-5241d07474586f85f513357a989ecbb74ea69c30.tar.bz2 | |
environment filtering: pass through TRAVIS vars.
We use these internally so let's map them to `HOMEBREW_` variables.
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 42abe5171..2285fee91 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -702,7 +702,7 @@ class FormulaInstaller Utils.safe_fork do # Invalidate the current sudo timestamp in case a build script calls sudo. # Travis CI's Linux sudoless workers have a weird sudo that fails here. - system "/usr/bin/sudo", "-k" unless ENV["TRAVIS_SUDO"] == "false" + system "/usr/bin/sudo", "-k" unless ENV["HOMEBREW_TRAVIS_SUDO"] == "false" if Sandbox.formula?(formula) sandbox = Sandbox.new |
