diff options
author | 2016-03-03 13:51:25 +0000 | |
---|---|---|
committer | 2016-03-03 15:28:07 +0000 | |
commit | a1210b64f75510f99f922f2e0d4b96555c62f0aa (patch) | |
tree | eb1357635d33aceb7a381cd7c686f3d92faba343 /src/tools | |
parent | efd7ca1b420e00cf32839c07733e0e4a4d8b1bbb (diff) |
Remove unnecessary bashism.
The run_tests.sh script uses /bin/sh, not bash. From a cursory look, it
seems that this script uses a single bash-specific feature so drop it in
favor of the standard syntax.
--
MOS_MIGRATED_REVID=116243391
Diffstat (limited to 'src/tools')
-rwxr-xr-x | src/tools/xcode/stdredirect/run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/xcode/stdredirect/run_tests.sh b/src/tools/xcode/stdredirect/run_tests.sh index dddcfebbad..0cb5aabd79 100755 --- a/src/tools/xcode/stdredirect/run_tests.sh +++ b/src/tools/xcode/stdredirect/run_tests.sh @@ -66,7 +66,7 @@ while kill -0 "$IOS_PID" &>/dev/null; do done # If the simulator wasn't running when we started, then we should clean it up. -if [ SIMULATOR_RUNNING == "false" ]; then +if [ "${SIMULATOR_RUNNING}" = false ]; then osascript -e "tell application \"iOS Simulator\" to quit" fi |