Re: [Freeciv-Dev] Some suggestions/questions.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> I think a neat way to do this would be to make the datadir
> PATH-like. That is, a list of directories searched in order.
Yes that would be nice.
> If the env variable is not set, it could default to, in order:
> ./data (ie, in the current dir)
> ~/freeciv (ie, $HOME/freeciv) (or should that be ~/.freeciv ?)
> the configured install directory (eg /usr/local/share/freeciv)
My mistake I meant ~/.freeciv :)
> Then you could have a version of freeciv installed, a newer version
> in the current dir, and some extra downloaded tiles in ~/freeciv,
> and it would all work :-) (Plus a script which sets the environment
> variable to something entirely different :-)
This would make it nice for savegames too. ~/.freeciv/savegames/
Best regards
Martin Willemoes Hansen
-------------------------------------------------------------------------
/ / (_)__ __ ____ __ | E-Mail mwh@xxxxxxxxxxxx
/ /__/ / _ \/ // /\ \/ / | IRC MWH/DR_NICK ; ircnet,
openprojects
/____/_/_//_/\_,_/ /_/\_\ | ICQ 11597690
-------------------------------------------------------------------------
|
|