Ran into this error after building wine again. Not sure why I haven't seen this before, but:
tools/wineinstall: line 272: [: too many arguments
which translates to this line:
if [ ! `which wine` ]
On Solaris, if I do "which wine", I get a no wine in (long list of path entries)., so I assume another version of "which" returns a blank string if wine doesn't exist?
Thoughts?
Ben
On Do, 2007-04-26 at 13:42 +0000, Ben Taylor wrote:
if [ ! `which wine` ]
data=`which wine` if [ -n "$data" -a -x "$data" ] then # found wine WINEINSTALLED=yes else echo "Could not find wine on your system. Run wineinstall as root to install wine" echo "before re-running wineinstall as a user." echo echo "Exiting wineinstall" exit 1; fi
Detlef Riekenberg wine.dev@web.de writes:
On Do, 2007-04-26 at 13:42 +0000, Ben Taylor wrote:
if [ ! `which wine` ]
data=`which wine` if [ -n "$data" -a -x "$data" ] then # found wine WINEINSTALLED=yes else echo "Could not find wine on your system. Run wineinstall as root to install wine" echo "before re-running wineinstall as a user." echo echo "Exiting wineinstall" exit 1; fi
Trying to run 'wine --version' would probably be a better installation check.