summaryrefslogtreecommitdiff
path: root/scripts/launch-c-xcode.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/launch-c-xcode.in')
-rw-r--r--scripts/launch-c-xcode.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/launch-c-xcode.in b/scripts/launch-c-xcode.in
index 77a0c8aca3..837e1738e8 100644
--- a/scripts/launch-c-xcode.in
+++ b/scripts/launch-c-xcode.in
@@ -1,4 +1,4 @@
#!/bin/sh
export CCACHE_CPP2=true
-exec "@C_LAUNCHER@" "${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@"
+exec "@C_LAUNCHER@" "${PATH%%/Contents/Developer/*}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@"