aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-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