Wine FAQ edits

David Laight david at l8s.co.uk
Sat Feb 5 09:35:25 CST 2011


On Sat, Feb 05, 2011 at 10:14:07AM +0200, Gert van den Berg wrote:
> On Sat, Feb 5, 2011 at 10:05, Gert van den Berg <wine-devel at mohag.net> wrote:
> > On Thu, Feb 3, 2011 at 18:17, Albert Lee <trisk at forkgnu.org> wrote:
> >> The instructions were intended to give some context for users who
> >> might not be familiar with the ~ expansion.
> >
> > Using {$HOME} would be more portable.
> 
> And using "${WINEPREFIX:-${HOME}/.wine}/dosdevices/c:/Program Files"
> should work correctly in any Wine setup (on a Bourne-compatible
> shell), including one using a custom WINEPREFIX. 

Better still "${WINEPREFIX:-${HOME:?}/.wine}/dosdevices/c:/Program Files"
which will generate an error if HOME isn't set.

	David

-- 
David Laight: david at l8s.co.uk



More information about the wine-devel mailing list