retrofax / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Don't hardcode path to garglk.ini #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In garglk/config.c, the path to garglk.ini is hardcoded to /etc/garglk.ini. 
This is inconventient when installing to a different location (for example, on 
Gentoo, garglk.ini is installed to /etc/games/garglk.ini; I imagine a FreeBSD 
port would want to install to /usr/local/etc/garglk.ini, etc.)

Could the path be made configurable, for example as an overridable variable in 
the Jamrules file, with /etc/garglk.ini as the default path?

Original issue reported on code.google.com by znxfire...@gmail.com on 6 Oct 2010 at 4:34

GoogleCodeExporter commented 8 years ago
I'll take a look; seems like it should be straightforward.

Original comment by bcressey@gmail.com on 15 Nov 2010 at 6:08

GoogleCodeExporter commented 8 years ago
I've implemented this in the trunk.  You can set GARGLKINI either by modifying 
the top-level Jamrules, or on the command-line, as in:
jam -sGARGLKINI=/usr/local/etc/garglk.ini

Ben, unless you indicate otherwise, I plan on merging this into the stable 
branch, as the default behavior does not change at all.

Original comment by cspiegel@gmail.com on 19 Feb 2011 at 8:24

GoogleCodeExporter commented 8 years ago
Cool, thanks for doing this. Merging it into stable is fine, although at this 
point I think the next release will come out of trunk.

Original comment by bcressey@gmail.com on 20 Feb 2011 at 12:28