diff options
Diffstat (limited to 'tools/autobuild/detect_xcode.sh')
-rw-r--r-- | tools/autobuild/detect_xcode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autobuild/detect_xcode.sh b/tools/autobuild/detect_xcode.sh index a57c9ac78b..47501241dd 100644 --- a/tools/autobuild/detect_xcode.sh +++ b/tools/autobuild/detect_xcode.sh @@ -15,7 +15,7 @@ KNOWN_IOS_SDK_SIMULATOR_PATHS=( \ # Returns 1 in case of not found and 0 in case of success PrintIOSSDKPath() { PATHS_ARRAY="${KNOWN_IOS_SDK_PATHS[@]}" - if [[ $1 == "simulator" ]]; then + if [[ $1 == *simulator* ]]; then for path in "${KNOWN_IOS_SDK_SIMULATOR_PATHS[@]}"; do if [ -d "${path}" ]; then echo "${path}" |