]> git.lizzy.rs Git - rust.git/commitdiff
etc: modify adb_run_wrapper.sh to avoid 'expr' unrecognization at some android devices
authorYoung-il Choi <duddlf.choi@samsung.com>
Mon, 17 Jun 2013 09:44:30 +0000 (18:44 +0900)
committerYoung-il Choi <duddlf.choi@samsung.com>
Mon, 17 Jun 2013 09:44:30 +0000 (18:44 +0900)
src/etc/adb_run_wrapper.sh

index fb1e0937fc920510a029564c14bd2068a9f06b3a..29d328c857d959dfade2a433a8d5301e74499e7e 100755 (executable)
@@ -26,7 +26,7 @@ then
                /system/bin/sleep $WAIT
                /system/bin/sync
             fi
-            L_COUNT=`expr $L_COUNT+1`
+            L_COUNT=$((L_COUNT+1))
         done
 
         echo $L_RET > $PATH/$RUN.exitcode