shims/apr-1-config: fix style inconsistencies

This commit is contained in:
Martin Afanasjew 2016-08-07 12:53:44 +02:00
parent 4a7fc07430
commit faf4bc819c

View File

@ -1,6 +1,7 @@
#!/bin/bash
if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
if [[ "$HOMEBREW_CCCFG" = *a* ]]
then
case "$1" in
--cc) echo "cc" ;;
--cpp) echo "cpp" ;;
@ -8,7 +9,8 @@ if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
--includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1" ;;
--apr-libtool) echo "glibtool" ;;
*)
exec xcrun apr-1-config "$@";;
exec xcrun apr-1-config "$@"
;;
esac
else
exec /usr/bin/apr-1-config "$@"