From 93b98bbe2b22ebea56a10a220c330fb5cafff8b8 Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Tue, 15 Nov 2016 10:29:11 +0100 Subject: [PATCH] Making shell wraper more generic --- pyGTKtalog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyGTKtalog b/pyGTKtalog index 57a5376..08aa1fd 100755 --- a/pyGTKtalog +++ b/pyGTKtalog @@ -3,7 +3,7 @@ # change path to pygtktalog.py file full path, then you can move this shell # script to desired place (like /usr/bin, /usr/local/bin, ~/bin and so on) -path_to_gtktalog_directory="." +path_to_gtktalog_directory=$(readlink -e $(dirname $0)) # python interpreter python_intrpreter="/usr/bin/python"