[oe-commits] Carsten Haitzler : xserver-kdrive-common: fix tscalibrate script to not run if ts dev not exist

GIT User account git at amethyst.openembedded.net
Tue Apr 14 13:28:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f5a114a9eec48ac1994c97d8100ba14aabcc70a8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f5a114a9eec48ac1994c97d8100ba14aabcc70a8

Author: Carsten Haitzler <raster at openmoko.org>
Date:   Tue Apr 14 20:31:03 2009 +1000

xserver-kdrive-common: fix tscalibrate script to not run if ts dev not exist

---

 .../xserver-kdrive-common/30xTs_Calibrate          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate b/recipes/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate
index 8e6a8b2..7078690 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common/30xTs_Calibrate
+++ b/recipes/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





More information about the Openembedded-commits mailing list