aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Raster <raster@rasterman.com>2009-01-12 00:25:48 +1100
committerCarsten Haitzler (Raster) <raster@rasterman.com>2009-02-20 00:56:49 +1100
commita743ce0061ca78fd947fd3782536c3af4415a780 (patch)
tree5e859e39d49c536a246bf3ad2d54339e83d1a0d9
parent84cc20af39b8ad723b2b99977743c0679f21ebaa (diff)
downloadopenembedded-a743ce0061ca78fd947fd3782536c3af4415a780.tar.gz
xserver-kdrive-common: dont keep looping on running the calibrate tool if no
ts device exists.
-rw-r--r--packages/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate b/packages/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate
index 8e6a8b22cb..70786908b6 100644
--- a/packages/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate
+++ b/packages/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate
@@ -1,6 +1,6 @@
#!/bin/sh
-while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
+while [ ! -z $TSLIB_TSDEVICE ] && [ -f $TSLIB_TSDEVICE] && [ ! -f /etc/pointercal ]
do
/usr/bin/xtscal
done