diff options
| author | Martin Afanasjew | 2016-08-07 12:52:27 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-08-08 16:00:12 +0200 |
| commit | 4a7fc07430ff43b4daa3a6ba07461f680895572a (patch) | |
| tree | 7fdac32df9b2f5d30b41a8f0c9c94539e825029a /Library | |
| parent | 3d862ef5e29e8f57649b596eeb70a57ce10bbcd2 (diff) | |
| download | brew-4a7fc07430ff43b4daa3a6ba07461f680895572a.tar.bz2 | |
shims/ant: fix style inconsistencies
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/shims/super/ant | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/shims/super/ant b/Library/Homebrew/shims/super/ant index f54bc2747..3d686024e 100755 --- a/Library/Homebrew/shims/super/ant +++ b/Library/Homebrew/shims/super/ant @@ -1,5 +1,7 @@ #!/bin/bash + export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG" + ant=/usr/bin/ant -[ -x "$ant" ] || ant="$(${HOMEBREW_BREW_FILE} --prefix ant)/bin/ant" +[[ -x "$ant" ]] || ant="$("$HOMEBREW_BREW_FILE" --prefix ant)/bin/ant" exec "$ant" "$@" |
