[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I need further understanding of wine or bash



On Mon, Apr 21, 2008 at 08:43:53PM +0000, Tzafrir Cohen wrote:
> On Mon, Apr 21, 2008 at 02:05:23PM -0400, Dylan Garrett wrote:
> 
> > One issue that I see that you should fix (though it won't affect your
> > results):
> > #bin/bash!
> > Should be:
> > #!/usr/bin/bash
> 
> /usr/bin/bash? where? /bin/bash
> 
> > Or better yet:
> > #!/usr/bin/env bash
> 
> Or simpler:
> 
> #!/bin/sh
> 

You've gotta be careful with #!/bin/sh it may not be linked to bash,
i.e:

ls -al /bin/sh
lrwxrwxrwx 1 root root 9 2008-01-22 04:04 /bin/sh -> /bin/dash

-- 
Chris.
======
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed


Reply to: