Skip to content
Snippets Groups Projects
Commit faf4bc81 authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

shims/apr-1-config: fix style inconsistencies

parent 4a7fc074
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
if [[ "$HOMEBREW_CCCFG" = *a* ]]
then
case "$1" in
--cc) echo "cc";;
--cpp) echo "cpp";;
--includedir) echo "$HOMEBREW_SDKROOT/usr/include/apr-1";;
--includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1";;
--apr-libtool) echo "glibtool";;
*)
exec xcrun apr-1-config "$@";;
--cc) echo "cc" ;;
--cpp) echo "cpp" ;;
--includedir) echo "$HOMEBREW_SDKROOT/usr/include/apr-1" ;;
--includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1" ;;
--apr-libtool) echo "glibtool" ;;
*)
exec xcrun apr-1-config "$@"
;;
esac
else
exec /usr/bin/apr-1-config "$@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment