Re: portability improvements for wineshelllink script

2005-05-07 Thread Dan Kegel
Somebody wrote: > [Let's use bash features in wine shell scripts] Bad idea. Unless you have a *very* good reason, you should stick to Posix interfaces, which here means "get it to run under Bourne shell". Portability -- it's a good thing. By the way, if anyone out there is looking for a concise, i

Re: portability improvements for wineshelllink script

2005-05-07 Thread Robert Lunnon
On Sun, 8 May 2005 03:30 am, Dustin Navea wrote: > Francois Gouget wrote: > > This is true too but I think most Wine developers will agree with me > > that Wine should not depend on bash which means the above is not 'the > > right fix(tm)' which makes it 'the wrong fix'. > > Of course The Microsoft

Re: portability improvements for wineshelllink script

2005-05-07 Thread Dustin Navea
Francois Gouget wrote: This is true too but I think most Wine developers will agree with me that Wine should not depend on bash which means the above is not 'the right fix(tm)' which makes it 'the wrong fix'. Of course The Microsoft Fix(tm) would be to say "ahh to hell with it. Lets make our own

Re: portability improvements for wineshelllink script

2005-05-07 Thread Francois Gouget
On Sat, 7 May 2005, Robert Lunnon wrote: On Sat, 7 May 2005 08:52 pm, Francois Gouget wrote: On Sat, 7 May 2005, Robert Lunnon wrote: [...] # diff -u wineshelllink.old wineshelllink --- wineshelllink.old mer mai 4 11:47:30 2005 +++ wineshelllink mer mai 4 11:50:03 2005 @@ -1,4 +1,4 @@

Re: portability improvements for wineshelllink script

2005-05-07 Thread Robert Lunnon
On Sat, 7 May 2005 08:52 pm, Francois Gouget wrote: > On Sat, 7 May 2005, Robert Lunnon wrote: > [...] > > > # diff -u wineshelllink.old wineshelllink > > --- wineshelllink.old mer mai 4 11:47:30 2005 > > +++ wineshelllink mer mai 4 11:50:03 2005 > > @@ -1,4 +1,4 @@ > > -#!/bin/sh > >

Re: portability improvements for wineshelllink script

2005-05-07 Thread Francois Gouget
On Sat, 7 May 2005, Robert Lunnon wrote: [...] # diff -u wineshelllink.old wineshelllink --- wineshelllink.old mer mai 4 11:47:30 2005 +++ wineshelllink mer mai 4 11:50:03 2005 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash This is wrong. Some users may not have bash installed and the script