summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gdbclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdbclient b/scripts/gdbclient
index 7f24f6ca5..8ff9ae9c6 100755
--- a/scripts/gdbclient
+++ b/scripts/gdbclient
@@ -14,7 +14,7 @@ source $ANDROID_BUILD_TOP/build/envsetup.sh
function adb_get_product_device() {
local candidate=`adb shell getprop ro.product.device | tr -d '\r\n'`
- if [ -z $candidate ]; then
+ if [ -z "$candidate" ]; then
candidate=`adb shell getprop ro.hardware | tr -d '\r\n'`
fi
echo $candidate