http://bugs.winehq.org/show_bug.cgi?id=12695
Summary: when calling wineprefixcreate from wine launcher, WINEPREFIX is ignored Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
austin@austin-desktop:~$ rm -rf .wine .test austin@austin-desktop:~$ wine notepad wine: creating configuration directory '/home/austin/.wine'... Could not load Mozilla. HTML rendering will be disabled. wine: '/home/austin/.wine' created successfully. austin@austin-desktop:~$ WINEPREFIX=~/.test wine notepad wine: the '/home/austin/.test' directory specified in WINEPREFIX doesn't exist. You may want to create it by running 'wineprefixcreate'. austin@austin-desktop:~$ WINEPREFIX=~/.test wineprefixcreate Could not load Mozilla. HTML rendering will be disabled. /home/austin/.test updated successfully. austin@austin-desktop:~$ WINEPREFIX=~/.test wine notepad
http://bugs.winehq.org/show_bug.cgi?id=12695
--- Comment #1 from Lei Zhang thestig@google.com 2008-04-22 00:31:19 --- It works if you return in libs/wine/config.c around line 212 when errno == ENOENT. Maybe Alexandre did it on purpose to prevent wineprefixcreate from running in case you made a typo in $WINEPREFIX ?
http://bugs.winehq.org/show_bug.cgi?id=12695
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-04-22 05:54:17 --- Yes, it's done on purpose to catch typos. This is going to change with the new wineprefix handling.
http://bugs.winehq.org/show_bug.cgi?id=12695
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Version|CVS/GIT |0.9.60
--- Comment #3 from Austin English austinenglish@gmail.com 2008-04-24 01:23:31 --- (In reply to comment #2)
Yes, it's done on purpose to catch typos. This is going to change with the new wineprefix handling.
Yes sir, the new wineprefix handling in git fixes this for me. Thanks, this bug has driven me crazy for a while...
http://source.winehq.org/git/wine.git/?a=commitdiff;h=662718160e03586424da4b...
http://bugs.winehq.org/show_bug.cgi?id=12695
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-05-02 12:38:19 --- Closing bugs fixed in 0.9.61.