shims/mac/super/ant: repair style

This commit is contained in:
hyuraku 2021-04-18 18:34:16 +09:00
parent 538c65d6f8
commit 0c3256ba4c

View File

@ -1,7 +1,9 @@
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
export HOMEBREW_CCCFG="O${HOMEBREW_CCCFG}"
ant=/usr/bin/ant
[[ -x "$ant" ]] || ant="$("$HOMEBREW_BREW_FILE" --prefix ant)/bin/ant"
exec "$ant" "$@"
# HOMEBREW_BREW_FILE is set by bin/brew
# shellcheck disable=SC2154
[[ -x "${ant}" ]] || ant="$("${HOMEBREW_BREW_FILE}" --prefix ant)/bin/ant"
exec "${ant}" "$@"