Arjen de Korte
2010-Oct-20 09:24 UTC
[Nut-upsdev] [nut-commits] svn commit r2588 - branches/windows_port/common
Citeren Frederic BOHE <fbohe-guest op alioth.debian.org>:> Author: fbohe-guest > Date: Wed Oct 20 09:13:38 2010 > New Revision: 2588 > URL: http://trac.networkupstools.org/projects/nut/changeset/2588 > > Log: > Remove hack from confpath function. You have to declare a > NUT_CONFPATH environnement variable in your Windows settingsThis is not the intended use, it is only meant for people that wish to override the build-in default value. Provide ./configure with the path where the config files will be stored and most people will never have to touch this. Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Frédéric Bohé
2010-Oct-20 09:43 UTC
[Nut-upsdev] [nut-commits] svn commit r2588 - branches/windows_port/common
On mer., 2010-10-20 at 11:24 +0200, Arjen de Korte wrote:> Citeren Frederic BOHE <fbohe-guest at alioth.debian.org>: > > > Author: fbohe-guest > > Date: Wed Oct 20 09:13:38 2010 > > New Revision: 2588 > > URL: http://trac.networkupstools.org/projects/nut/changeset/2588 > > > > Log: > > Remove hack from confpath function. You have to declare a > > NUT_CONFPATH environnement variable in your Windows settings > > This is not the intended use, it is only meant for people that wish to > override the build-in default value. Provide ./configure with the path > where the config files will be stored and most people will never have > to touch this. >Agree. But the question is : what is "the path where the config files will be stored" in a Windows environnement ? I am not sure how to handle this correctly right now. If you have any suggestion... Regards, Fred> Best regards, Arjen--------------------------------------------------------------------------
Charles Lepple
2010-Oct-20 12:31 UTC
[Nut-upsdev] [nut-commits] svn commit r2588 - branches/windows_port/common
On Wed, Oct 20, 2010 at 5:43 AM, Fr?d?ric Boh? <fredericbohe at eaton.com> wrote:> On mer., 2010-10-20 at 11:24 +0200, Arjen de Korte wrote: >> Citeren Frederic BOHE <fbohe-guest at alioth.debian.org>: >> >> > Author: fbohe-guest >> > Date: Wed Oct 20 09:13:38 2010 >> > New Revision: 2588 >> > URL: http://trac.networkupstools.org/projects/nut/changeset/2588 >> > >> > Log: >> > Remove hack from confpath function. You have to declare a >> > NUT_CONFPATH environnement variable in your Windows settings >> >> This is not the intended use, it is only meant for people that wish to >> override the build-in default value. Provide ./configure with the path >> where the config files will be stored and most people will never have >> to touch this. >> > > Agree. But the question is : what is "the path where the config files > will be stored" in a Windows environnement ? I am not sure how to handle > this correctly right now. If you have any suggestion...Windows has a few Shell functions to get paths to locations such the proper "Program Files" directory, and I think there might even be an environment variable for that. -- - Charles Lepple