diff options
| author | Xu Cheng | 2016-01-18 11:35:04 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-01-20 13:55:06 +0800 |
| commit | 29c50d256741fc54a99aec1f6b9513ecb32ef8f7 (patch) | |
| tree | a126d895fcd036f4759161a72af42204f55413bf /bin | |
| parent | f9b33e26e077a80e85caa1b2434943ab7b55de60 (diff) | |
| download | brew-29c50d256741fc54a99aec1f6b9513ecb32ef8f7.tar.bz2 | |
bin/brew: remove unnecessary check
HOMEBREW_BASH_COMMAND variable will always exist. So we only need to
check whether the corresponding file exist or not.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ EOS esac fi -if [ -n "$HOMEBREW_BASH_COMMAND" ] && [ -x "$HOMEBREW_BASH_COMMAND" ] +if [ -x "$HOMEBREW_BASH_COMMAND" ] then # source rather than executing directly to ensure the entire file is read into # memory before it is run. This makes running a Bash script behave more like |
