Re: shell failure on tools/wineinstall

2007-04-26 Thread Ben Taylor
-- Original message -- From: Alexandre Julliard <[EMAIL PROTECTED]> > Detlef Riekenberg <[EMAIL PROTECTED]> writes: > > > On Do, 2007-04-26 at 13:42 +, Ben Taylor wrote: > > > > > >> if [ ! `which wine` ] > >> > > > > data=`which wine` > > if [ -n "$dat

Re: shell failure on tools/wineinstall

2007-04-26 Thread Alexandre Julliard
Detlef Riekenberg <[EMAIL PROTECTED]> writes: > On Do, 2007-04-26 at 13:42 +, 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. Ru

Re: shell failure on tools/wineinstall

2007-04-26 Thread Detlef Riekenberg
On Do, 2007-04-26 at 13:42 +, 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 win

shell failure on tools/wineinstall

2007-04-26 Thread Ben Taylor
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 a