[OE-core] [PATCH 3/4] xtscal: fix bashism

Qi.Chen at windriver.com Qi.Chen at windriver.com
Fri Aug 2 07:52:58 UTC 2013


From: Chen Qi <Qi.Chen at windriver.com>

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

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
-- 
1.7.9.5




More information about the Openembedded-core mailing list