[ltt-dev] [PATCH] runlttv: Specify path of .runlttvrc

Pierre-Marc Fournier pierre-marc.fournier at polymtl.ca
Tue Sep 22 16:34:46 EDT 2009


Excellent idea. Applied.

Benjamin Poirier wrote:
> 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 <benjamin.poirier at polymtl.ca>
> ---
>  runlttv |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/runlttv b/runlttv
> index ceb6349..86edfd3 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"





More information about the lttng-dev mailing list