From 1af0df2105075a6f7c6a08dc149a24268fe67df9 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 12 Sep 2007 20:36:02 +0000 Subject: [PATCH] * Added pwd befor directory change for reference point for relative path argument. --- pyGTKtalog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyGTKtalog b/pyGTKtalog index 675faf8..32182b4 100755 --- a/pyGTKtalog +++ b/pyGTKtalog @@ -1,6 +1,7 @@ #!/bin/sh # Simple wraper to launch python application from desired place. +current_dir="`pwd`" cd ~/Devel/Python/pyGTKtalog #export PYTHONPATH="$PYTHONPATH:/home/gryf/Devel/Python/pyGTKtalog/mvc" #exec python -OO pygtktalog.py $@ -exec python pygtktalog.py $@ +exec python pygtktalog.py "$current_dir" "$@"