fix wineinstall to use `wine --version` instead of `which wine`

Ben Taylor sol11x86 at comcast.net
Mon Apr 30 22:48:41 CDT 2007


This patch is to fix wineinstall to use a check for wine by using `wine --version`
instead of `which wine`.  The output from "which" is not really deterministic
across OS platforms, while `wine --version 2> /dev/null`  will either be NULL
or the wine version.

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1204 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070501/c6c72d8d/attachment.obj


More information about the wine-patches mailing list