aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/brew.rb')
-rwxr-xr-xLibrary/brew.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index cd2be0774..422fd2c7b 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -108,11 +108,13 @@ begin
end
# Add contributed commands to PATH before checking.
- ENV['PATH'] += "#{File::PATH_SEPARATOR}#{HOMEBREW_CONTRIB}/cmd"
Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/cmd"].each do |tap_cmd_dir|
ENV["PATH"] += "#{File::PATH_SEPARATOR}#{tap_cmd_dir}"
end
+ # Add SCM wrappers.
+ ENV["PATH"] += "#{File::PATH_SEPARATOR}#{HOMEBREW_LIBRARY}/ENV/scm"
+
internal_cmd = require? HOMEBREW_LIBRARY_PATH.join("cmd", cmd) if cmd
# Usage instructions should be displayed if and only if one of: