From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJn9o-0002t4-55 for guix-patches@gnu.org; Tue, 28 Nov 2017 16:11:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJn9j-00022F-KC for guix-patches@gnu.org; Tue, 28 Nov 2017 16:11:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJn9j-00021Y-HJ for guix-patches@gnu.org; Tue, 28 Nov 2017 16:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJn9h-00054O-MS for guix-patches@gnu.org; Tue, 28 Nov 2017 16:11:03 -0500 Subject: [bug#29301] [PATCH] substitute* hard-coded paths with paths from "out" Resent-Message-ID: MIME-Version: 1.0 In-Reply-To: <87r2sknlxv.fsf@gnu.org> References: <8760accpzl.fsf@gmail.com> <87shd4odvl.fsf@gnu.org> <87r2sknlxv.fsf@gnu.org> From: Kristofer Buffington Date: Tue, 28 Nov 2017 16:10:35 -0500 Message-ID: Content-Type: multipart/alternative; boundary="001a1141552e3d391d055f117358" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29301@debbugs.gnu.org --001a1141552e3d391d055f117358 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cool! I am not very familiar with autotools. I appreciate the help! I will follow up with a new patch. Thanks Kris On Nov 27, 2017 3:52 AM, "Ludovic Court=C3=A8s" wrote: > Hi, > > (Please always keep the bug Cc=E2=80=99d.) > > Kristofer Buffington skribis: > > > I will investigate. There are some hard coded paths in artanis/config.s= cm > > looking for the configuration file in /etc/artanis/artanis.conf -- I > don't > > believe the --sysconfdir flag will have any impact on the hard-coded > paths. > > Perhaps I should send a patch upstream to eliminate the hard paths? The= n > > the substitute* would be unnecessary? > > --sysconfdir would not change the hard-coded file names, but it would > actually make those hard-coded file names valid. And again, using /etc > as the sysconfdir would allow people to have a writable artanis.conf > file, for instance, so that=E2=80=99s definitely something we should do. > > Thanks, > Ludo=E2=80=99. > --001a1141552e3d391d055f117358 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Cool! I am not very familiar with autotools. I appreciate= the help! I will follow up with a new patch.

Thanks
Kris

On Nov 27, 2017 3:52 AM, "= ;Ludovic Court=C3=A8s" <ludo@gnu.or= g> wrote:
Hi,=

(Please always keep the bug Cc=E2=80=99d.)

Kristofer Buffington <k= ristoferbuffington@gmail.com> skribis:

> I will investigate. There are some hard coded paths in artanis/config.= scm
> looking for the configuration file in /etc/artanis/artanis.conf -- I d= on't
> believe the --sysconfdir flag will have any impact on the hard-coded p= aths.
> Perhaps I should send a patch upstream to eliminate the hard paths? Th= en
> the substitute* would be unnecessary?

--sysconfdir would not change the hard-coded file names, but it would
actually make those hard-coded file names valid.=C2=A0 And again, using /et= c
as the sysconfdir would allow people to have a writable artanis.conf
file, for instance, so that=E2=80=99s definitely something we should do.
Thanks,
Ludo=E2=80=99.
--001a1141552e3d391d055f117358--