Date: Mon, 21 Jul 2003 04:20:14 -0700 (PDT) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/54671: audio/abcde-2.1.4 system config file path fix Message-ID: <200307211120.h6LBKEfE077076@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/54671; it has been noted by GNATS. From: "Sergey A. Osokin" <osa@FreeBSD.org> To: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net> Cc: FreeBSD-gnats-submit@FreeBSD.org, mchopra@engmail.uwaterloo.ca Subject: Re: ports/54671: audio/abcde-2.1.4 system config file path fix Date: Mon, 21 Jul 2003 15:15:30 +0400 On Sun, Jul 20, 2003 at 06:45:44PM +0000, Bjoern A. Zeeb wrote: > attached patch-ab fixes this, please add > > o 1 new file: files/patch-ab > > --- patch-ab --- > --- abcde.1.orig Sun Jul 20 18:37:47 2003 > +++ abcde.1 Sun Jul 20 18:38:31 2003 > @@ -46,7 +46,7 @@ > .TP > .B \-c [filename] > Specifies an additional configuration file to parse. Configuration options > -in this file override those in /etc/abcde.conf or $HOME/.abcde.conf. > +in this file override those in /usr/local/etc/abcde.conf or $HOME/.abcde.conf. ^^^^^^^^^^^^^^^^^^^ not right. Use %%PREFIX/etc/bla-bla-bla instead of hardcoded path. > .TP > .B \-C [discid] > Allows you to resume a session for > @@ -109,7 +109,7 @@ > This can be modified using the OUTPUTFORMAT and VAOUTPUTFORMAT > variables in your abcde.conf. > .SH CONFIGURATION > -abcde sources two configuration files on startup - /etc/abcde.conf and > +abcde sources two configuration files on startup - /usr/local/etc/abcde.conf and ^^^^^^^^^^ > $HOME/.abcde.conf, in that order. > .TP > The configuration variables have to be set as follows: > --- abcde.orig Sun Jul 20 18:37:21 2003 > +++ abcde Sun Jul 20 18:38:14 2003 > @@ -1239,8 +1239,8 @@ > fi > > # Load system defaults > -if [ -r /etc/abcde.conf ]; then > - . /etc/abcde.conf > +if [ -r /usr/local/etc/abcde.conf ]; then > + . /usr/local/etc/abcde.conf > fi > # Load user preference defaults > if [ -r $HOME/.abcde.conf ]; then > --- /patch-ab --- -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307211120.h6LBKEfE077076>