Re: [Tuxpaint-devel] savedir option bug
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2008-10-08 18:42:54
|
On Wed, Oct 08, 2008 at 11:13:06AM -0400, Francis Giraldeau wrote: > Hi, > > Is there any solution that have been found to expand environment > variables from "savedir" options when defined in the config file for > other platform than Linux? > > I saw that replace_tilde does the job for $HOME, but how do they do to > change the path on other platform (since on Windows, $HOME is not defined) Actually, replace_tilde only does the job for "~". And only for the current user. (i.e., you can't do "~someotheruser/tuxpaint/" like you can in a shell) I'm reminded of the 'wordexp()' patch, which I suppose I should apply, just to get the ball rolling for Linux. What do Windows programmers use? And Mac? Does wordexp() work on Mac? -bill! |