diff options
| author | Xu Cheng | 2016-01-20 15:56:44 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-01-20 16:04:02 +0800 |
| commit | 2d65caaee9ed1f7a9991451cc71eabe8f7c494cc (patch) | |
| tree | 51f642bebb238b6c1cbb15df6911c4c43f9aba47 | |
| parent | 318ce388d75bb87cf2ee9966bfc19f0346460998 (diff) | |
| download | brew-2d65caaee9ed1f7a9991451cc71eabe8f7c494cc.tar.bz2 | |
bin/brew: use not operator inside `[[`
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ fi # Many Pathname operations use getwd when they shouldn't, and then throw # odd exceptions. Reduce our support burden by showing a user-friendly error. -if ! [[ -d "$(pwd)" ]] +if [[ ! -d "$(pwd)" ]] then odie "The current working directory doesn't exist, cannot proceed." fi |
