From: Kai Backman Date: Mon, 19 Jul 2010 08:43:33 +0000 (+0300) Subject: minor error checking to android launcher X-Git-Tag: weekly.2010-07-29~76 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dcd9d78549c3206eb1c9b883d3d58ec87a57e683;p=gostls13.git minor error checking to android launcher R=dho CC=golang-dev https://golang.org/cl/1777041 --- 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 "$@"