am c5e45492: am 4c401b1a: Merge "Fix argument handling in runhat() function"
* commit 'c5e45492fad4c5e45c1d5f0726c25877a601338e':
Fix argument handling in runhat() function
diff --git a/envsetup.sh b/envsetup.sh
index 7ca0e3a..cefe8ba 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -907,10 +907,10 @@
{
# process standard adb options
local adbTarget=""
- if [ $1 = "-d" -o $1 = "-e" ]; then
+ if [ "$1" = "-d" -o "$1" = "-e" ]; then
adbTarget=$1
shift 1
- elif [ $1 = "-s" ]; then
+ elif [ "$1" = "-s" ]; then
adbTarget="$1 $2"
shift 2
fi