From a7bbe2f6af5563fed90ff5ba446c6f8c29812f4b Mon Sep 17 00:00:00 2001 From: Benjamin Poirier Date: Tue, 22 Sep 2009 15:39:09 -0400 Subject: [PATCH] runlttv: Specify path of .runlttvrc Use the path of the runlttv script to source .runlttvrc. This allows using runlttv from a directory other than the one where .runlttvrc resides. Signed-off-by: Benjamin Poirier --- runlttv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runlttv b/runlttv index ceb6349b..86edfd3f 100755 --- a/runlttv +++ b/runlttv @@ -19,7 +19,7 @@ # $ ln -s ./lttv/modules/gui/lttvwindow/pixmaps # while in the same directory as this script. -RCFILE=".runlttvrc" +RCFILE="$(dirname $0)/.runlttvrc" if [ "$MODE" = "text" ]; then ARGS="-L lttv/modules/text/.libs -m textDump" -- 2.34.1