aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-10-29 13:33:16 +0000
committerGitHub2017-10-29 13:33:16 +0000
commit9dbff4ebbec6d53ec0c01187e5b912a0abb339d2 (patch)
tree3606f35af7d625de91477fb8024c734ef54d64fc /Library
parente94810950d7fe1f212f6c11ffcdefb6eaaaf7c01 (diff)
parente88fd4a86821a4cfe4d8d37cb3f5ce432531e5ff (diff)
downloadbrew-9dbff4ebbec6d53ec0c01187e5b912a0abb339d2.tar.bz2
Merge pull request #3388 from MikeMcQuaid/bump-formula-pr-env-filtering
bump-formula-pr: always use HOMEBREW_PATH.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/bump-formula-pr.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb
index fe7e6be3d..3fd0d1206 100644
--- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb
+++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb
@@ -109,6 +109,10 @@ module Homebrew
end
def bump_formula_pr
+ # As this command is simplifying user run commands then let's just use a
+ # user path, too.
+ ENV["PATH"] = ENV["HOMEBREW_PATH"]
+
formula = ARGV.formulae.first
if formula