[PATCH] Allow override of the dotfile location

James Radley james at hiltonbury.com
Tue Mar 20 16:25:51 EDT 2007


The attached patch allows you to override the '.gnucash' directory. 
Currently, this always defaults to ${HOME}/.gnucash which is a problem 
if you are developing GNC, and don't want to impact the existing stable 
GNC2.0.x installation that I'm using for my real accounts.

Essentially, setting the "GNC_DOT_DIR" environment variable will cause 
the dotdir and it's associated files to sit in ${GNC_DOT_DIR}. If the 
variable is not set, the old behaviour is used.

James




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mypatch
Url: http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070320/382a66c7/attachment.pl 


More information about the gnucash-devel mailing list