diff options
| author | Martin Kühl | 2010-07-02 19:51:26 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:48 -0700 |
| commit | da7854401d708862cb41338c49f00f0486654e23 (patch) | |
| tree | 72ff86b60f9d0ad3516b67727e107f9bb4406ef3 | |
| parent | 0321acf9bee02903ccb0db7d8b2ff39da26100bf (diff) | |
| download | brew-da7854401d708862cb41338c49f00f0486654e23.tar.bz2 | |
Automatically enable external `brew` commands.
* Add path to external command examples to PATH.
* Only add them to PATH from inside Homebrew.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Move external commands path down near check
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -349,6 +349,9 @@ begin brew_doctor else + # Add example external commands to PATH before checking. + ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/examples" + # Check for an external shell command if system "/usr/bin/which -s brew-#{arg}" # Add some Homebrew vars to the ENV |
