|
@@ -137,9 +137,9 @@ if [ -z "$SDK_PATH" ]; then
|
|
elif [ "$PLATFORM" == "WatchOS" ]; then
|
|
elif [ "$PLATFORM" == "WatchOS" ]; then
|
|
SDK_PATH="`xcrun --sdk watchos --show-sdk-path`"
|
|
SDK_PATH="`xcrun --sdk watchos --show-sdk-path`"
|
|
fi
|
|
fi
|
|
-elif [ ! ${SDK_PATH: -1} == "/" ]; then
|
|
|
|
- # Some of our sed's require SDK_PATH end with /
|
|
|
|
- SDK_PATH="$SDK_PATH/"
|
|
|
|
|
|
+elif [ ${SDK_PATH: -1} == "/" ]; then
|
|
|
|
+ # Some of our sed's require SDK_PATH *not* end with /
|
|
|
|
+ SDK_PATH="`echo $SDK_PATH | sed 's/\/$//g'`"
|
|
fi
|
|
fi
|
|
|
|
|
|
#================
|
|
#================
|