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-de...@mohag.net> wrote:
> > On Thu, Feb 3, 2011 at 18:17, Albert Lee <tr...@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: da...@l8s.co.uk


Reply via email to