aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike McQuaid2012-03-18 15:33:21 +1300
committerMike McQuaid2012-03-18 15:34:41 +1300
commite33937a1e35e75dffae043f22e975bfd51dea409 (patch)
tree0c04edf7d597577808d5dc72a68718e047052168 /bin
parentd47cf55f68fb1d381cfbdc9de905dc33c7ce5a83 (diff)
downloadbrew-e33937a1e35e75dffae043f22e975bfd51dea409.tar.bz2
Rename external commands directory from examples.
Fixes Homebrew/homebrew#10829.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index e5a5e685e..ba573c658 100755
--- a/bin/brew
+++ b/bin/brew
@@ -71,7 +71,7 @@ begin
cmd = aliases[cmd] if aliases[cmd]
# Add example external commands to PATH before checking.
- ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/examples"
+ ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/cmds"
if system "/usr/bin/which -s brew-#{cmd}"
%w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e|
ENV["HOMEBREW_#{e}"] = Object.const_get "HOMEBREW_#{e}"