[Nut-upsdev] [nut-commits] svn commit r2588 - branches/windows_port/common

Charles Lepple clepple at gmail.com
Wed Oct 20 12:31:22 UTC 2010


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



More information about the Nut-upsdev mailing list