[3/4] xtscal: fix bashism

Submitted by Qi.Chen@windriver.com on Aug. 2, 2013, 7:52 a.m.

Details

Message ID df597c576dddb5c32bab00dc28646f425740dba3.1375429844.git.Qi.Chen@windriver.com
State Accepted
Commit 53d87253ac53a1ee54843f52c38a116cdcb86f7e
Headers show

Commit Message

Qi.Chen@windriver.com Aug. 2, 2013, 7:52 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../xtscal/xtscal/30xTs_Calibrate.sh               |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh b/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
index b8383bf..fa43617 100644
--- a/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
+++ b/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -8,6 +8,6 @@  if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
 	do
 	   /usr/bin/xtscal
 	   sleep 1
-	   let "n += 1"
+	   n=$(($n+1))
 	done
 fi