From dcd9d78549c3206eb1c9b883d3d58ec87a57e683 Mon Sep 17 00:00:00 2001 From: Kai Backman Date: Mon, 19 Jul 2010 11:43:33 +0300 Subject: [PATCH] minor error checking to android launcher R=dho CC=golang-dev https://golang.org/cl/1777041 --- misc/arm/a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/arm/a b/misc/arm/a index 140b47e296..7d810a30f7 100755 --- a/misc/arm/a +++ b/misc/arm/a @@ -29,7 +29,7 @@ exp () rloc=/data/local/tmp/retval rsize=$(adb shell "ls -l $rloc"|tr -s ' '|cut -d' ' -f4) rcheck=38 -if [ $rsize != $rcheck ] ; then +if [ "$rsize" != "$rcheck" ]; then # echo "debug: retval size incorrect want $rcheck, got $rsize. uploading" echo >/tmp/adb.retval '#!/system/bin/sh "$@" -- 2.50.0