aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/update-bash.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/update-bash.sh b/Library/Homebrew/cmd/update-bash.sh
index e72f3f196..ce80a5a9b 100755
--- a/Library/Homebrew/cmd/update-bash.sh
+++ b/Library/Homebrew/cmd/update-bash.sh
@@ -243,9 +243,10 @@ update-bash() {
--rebase) HOMEBREW_REBASE=1 ;;
--simulate-from-current-branch) HOMEBREW_SIMULATE_FROM_CURRENT_BRANCH=1 ;;
--*) ;;
- -*v*) HOMEBREW_VERBOSE=1 ;;
- -*d*) HOMEBREW_DEBUG=1 ;;
- -*) ;;
+ -*)
+ [[ "$i" = *v* ]] && HOMEBREW_VERBOSE=1;
+ [[ "$i" = *d* ]] && HOMEBREW_DEBUG=1;
+ ;;
*)
odie <<-EOS
This command updates brew itself, and does not take formula names.