aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorGravatar Julio Merino <jmmv@google.com>2016-03-03 13:51:25 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-03-03 15:28:07 +0000
commita1210b64f75510f99f922f2e0d4b96555c62f0aa (patch)
treeeb1357635d33aceb7a381cd7c686f3d92faba343 /src/tools
parentefd7ca1b420e00cf32839c07733e0e4a4d8b1bbb (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-xsrc/tools/xcode/stdredirect/run_tests.sh2
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