Patchwork [3/4] xtscal: fix bashism

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Aug. 2, 2013, 7:52 a.m.
Message ID <df597c576dddb5c32bab00dc28646f425740dba3.1375429844.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/54965/
State Accepted
Commit ae26fa41ae51c2f420e18633c242a4f3c29b4587
Headers show

Comments

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

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