xserver-kdrive-common: fix tscalibrate script to not run if ts dev not exist
authorCarsten Haitzler <raster@openmoko.org>
Tue, 14 Apr 2009 10:31:03 +0000 (20:31 +1000)
committerCarsten Haitzler <raster@openmoko.org>
Tue, 14 Apr 2009 13:25:16 +0000 (23:25 +1000)
recipes/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate

index 8e6a8b2..7078690 100644 (file)
@@ -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