aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/brew.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/brew.sh b/Library/brew.sh
index 7c5d07bf4..a9a11c368 100644
--- a/Library/brew.sh
+++ b/Library/brew.sh
@@ -58,13 +58,10 @@ then
fi
HOMEBREW_SYSTEM="$(uname -s)"
-if [[ "$HOMEBREW_SYSTEM" = "Darwin" ]]
-then
- HOMEBREW_OSX="1"
-elif [[ "$HOMEBREW_SYSTEM" = "Linux" ]]
-then
- HOMEBREW_LINUX="1"
-fi
+case "$HOMEBREW_SYSTEM" in
+ Darwin) HOMEBREW_OSX="1";;
+ Linux) HOMEBREW_LINUX="1";;
+esac
if [[ -z "$HOMEBREW_RUBY_PATH" ]]
then