Tools shipping with Xcode are still in PATH, only moved from first to last priority. Avoids accidentally using old tools where a newer version is installed. This ensures the tools identified by configure will be the exact tools used by make via Xcode.
273F217214ADD2170021BE6D /* debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ PATH = $PATH;
PRODUCT_NAME = external;
};
name = debug;
273F217314ADD2170021BE6D /* release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ PATH = $PATH;
PRODUCT_NAME = external;
};
name = release;
A9A5CD9A1E32072F00947914 /* debug-sandbox */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ PATH = $PATH;
PRODUCT_NAME = external;
};
name = "debug-sandbox";
A9A5CDA01E32073800947914 /* release-sandbox */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ PATH = $PATH;
PRODUCT_NAME = external;
};
name = "release-sandbox";
if [ -n "$reconfigure" ]; then
echo "reconfiguring ($reconfigure)"
+ ## respect PATH priority
+ export PATH="${PATH#$SYSTEM_DEVELOPER_BIN_DIR:}:${SYSTEM_DEVELOPER_BIN_DIR}"
+ echo "Unclobbering PATH:"
+ echo " export PATH=\"${PATH}\""
+
if [ "$EXTERNAL_DRIVER" == "bootstrap" ]; then
driver="--xcode-driver=terminal"
else