Added the close current app button
[gregoa/zavai.git] / run
diff --git a/run b/run
index 26c385cf2ece83c4fffea687576fa9248c019757..5fc2efbd0727e308c034f67c1ab3fe922709bdf3 100755 (executable)
--- a/run
+++ b/run
@@ -1,7 +1,9 @@
 #!/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 "$@"