diff options
| author | Martin Afanasjew | 2015-11-20 20:41:21 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2015-12-01 21:36:05 +0100 |
| commit | fb4a2ea387ba39cdaef3a730515ea374172027cf (patch) | |
| tree | 518c593de418559dbb804cadad4f00f5feb03c6e /bin | |
| parent | 15d4da01d6ee4c0371ee5215424db655ecb8766a (diff) | |
| download | brew-fb4a2ea387ba39cdaef3a730515ea374172027cf.tar.bz2 | |
bin/brew: be consistent about code style
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -26,9 +26,11 @@ then unset HOMEBREW_RUBY_PATH fi -if [ -z "$HOMEBREW_RUBY_PATH" ]; then +if [ -z "$HOMEBREW_RUBY_PATH" ] +then BREW_SYSTEM=$(uname -s | tr "[:upper:]" "[:lower:]") - if [ "$BREW_SYSTEM" = "darwin" ]; then + if [ "$BREW_SYSTEM" = "darwin" ] + then export HOMEBREW_RUBY_PATH="/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby" else export HOMEBREW_RUBY_PATH="$(which ruby)" |
