Fix method signatures
[gregoa/zavai.git] / run
diff --git a/run b/run
index 26c385cf2ece83c4fffea687576fa9248c019757..2e20794197b6b71ff3f8103aea959053b837f0e7 100755 (executable)
--- a/run
+++ b/run
@@ -1,7 +1,16 @@
 #!/bin/sh
 
-export PYTHONPATH=.
-export ZAVAI_CONFDIR=conf
-export ZAVAI_PLUGINS=plugins
+ROOT=$( (cd $(dirname $0); pwd) )
 
-src/zavai --verbose "$@"
+#export ZAVAI_CONFDIR=$ROOT/conf
+export ZAVAI_ICONDIR=$ROOT/icons
+export PATH="$PATH:$ROOT/lindi"
+
+#$ROOT/src/zavai "$@"
+
+cd $ROOT
+while true
+do
+       # Make argv[0] always an absolute path
+       $ROOT/build/src/zavai "$@"
+done