diff options
| author | Martin Afanasjew | 2016-01-21 16:26:38 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2016-01-26 16:26:08 +0100 |
| commit | da47ca921350b6c21a7a9eede63a6f61ddc8b150 (patch) | |
| tree | 88cf60e6700c5ecfc7613f13e03ba8d205019755 /bin | |
| parent | 29d80643d238282f5440122d600614eb7b8fc63d (diff) | |
| download | brew-da47ca921350b6c21a7a9eede63a6f61ddc8b150.tar.bz2 | |
bin/brew: put commands into 'homebrew-' namespace
This should help to avoid collisions with external commands and other
shell functions in the future and is closer to what we do in Ruby, where
commands are namespaced by being methods of the `Homebrew` module.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ then # Hide shellcheck complaint: # shellcheck source=/dev/null source "$HOMEBREW_BASH_COMMAND" - { "$HOMEBREW_COMMAND" "$@"; exit $?; } + { "homebrew-$HOMEBREW_COMMAND" "$@"; exit $?; } else exec "$HOMEBREW_RUBY_PATH" -W0 "$HOMEBREW_LIBRARY/brew.rb" "$@" fi |
