blob: 3a523d22802c5c01fe1ff59c10457e184e93294f [file] [log] [blame] [edit]
# A trick to allow invoking this script in multiple contexts.
if [ -z ${MY_LOCATION+x} ]; then
if [ -d "$0.runfiles/" ]; then
MY_LOCATION="$0.runfiles/bazel_tools/tools/objc"
else
MY_LOCATION="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
fi
fi
"${MY_LOCATION}"/xcrunwrapper.sh clang $@