Access linux/input.h via a vapi file
[gregoa/zavai.git] / run
diff --git a/run b/run
index 26c385cf2ece83c4fffea687576fa9248c019757..ae0c221be758da3e491918d8916b61a4f6fc7208 100755 (executable)
--- a/run
+++ b/run
@@ -1,7 +1,15 @@
 #!/bin/sh
 
 #!/bin/sh
 
-export PYTHONPATH=.
-export ZAVAI_CONFDIR=conf
-export ZAVAI_PLUGINS=plugins
+ROOT=`dirname $0`
 
 
-src/zavai --verbose "$@"
+export PYTHONPATH=$ROOT
+export ZAVAI_CONFDIR=$ROOT/conf
+export ZAVAI_PLUGINS=$ROOT/plugins
+
+#$ROOT/src/zavai "$@"
+
+cd $ROOT
+while true
+do
+       src/zavai "$@"
+done