Make argv[0] always an absolute path
authorEnrico Zini <enrico@enricozini.org>
Mon, 30 Nov 2009 10:10:06 +0000 (11:10 +0100)
committerEnrico Zini <enrico@enricozini.org>
Mon, 30 Nov 2009 10:10:06 +0000 (11:10 +0100)
run

diff --git a/run b/run
index c5ea7f957a63a7b9d971af0f5691f64c6ffa49bd..f85029eb10fec9a94b34fadafa6bc228d220de15 100755 (executable)
--- a/run
+++ b/run
@@ -11,5 +11,6 @@ export PATH="$PATH:$ROOT/lindi"
 cd $ROOT
 while true
 do
-       src/zavai "$@"
+       # Make argv[0] always an absolute path
+       $ROOT/src/zavai "$@"
 done