mirror of
https://github.com/golang/go
synced 2024-11-22 00:44:39 -07:00
minor error checking to android launcher
R=dho CC=golang-dev https://golang.org/cl/1777041
This commit is contained in:
parent
04cd38131d
commit
dcd9d78549
@ -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
|
||||
"$@"
|
||||
|
Loading…
Reference in New Issue
Block a user