From: Benjamin Poirier Date: Tue, 22 Sep 2009 19:39:09 +0000 (-0400) Subject: runlttv: Specify path of .runlttvrc X-Git-Tag: v0.12.20~34 X-Git-Url: https://git.lttng.org/?p=lttv.git;a=commitdiff_plain;h=a7bbe2f6af5563fed90ff5ba446c6f8c29812f4b 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 --- 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"