← Back to team overview

kicad-developers team mailing list archive

Re: [patch] default kicad_common to environment variables

 

Not a windows expert, and probably a silly question, but why can't Windows
use DEFAULT_INSTALL_PATH?  Because of users might install it anywhere or
something?

(Please don't take time away from solving it to write a big long
complicated response, I'm just curious.)

On Fri, Dec 4, 2015 at 1:25 AM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:

> I actually thought that the environment variables was always supposed
> to override, which is apparently not the case at the moment.
>
> If this patch means that I can do, for example:  rm  ~/.config/kicad ;
> KISYS3DMOD=/tmp pcbnew
>
> And then I expect that the KISYS3DMOD is set to /tmp when used in
> kicad, saved in the config file and show in the configure paths
> dialog.
>
> 2015-12-04 7:49 GMT+01:00 Mark Roszko <mark.roszko@xxxxxxxxx>:
> > The default paths were using DEFAULT_INSTALL_PATH which is horrible
> > because it'll never be right for our Windows builds. A nicer
> > alternative is to use the environment variables as the defaults if
> > they are set on that initial start. Not really critical, just a
> > "nicer" default if its available. Who knows, maybe someone will delete
> > the environment variables after the fact.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References