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

Re: Daily Images Fail to Install



On Thursday 29 November 2007, Martin Michlmayr wrote:
> * Frans Pop <elendil@planet.nl> [2007-11-29 09:19]:
> > > Anyway, I found the real cause: if the machine is not Netwinder, the
> > > script does an "exit 0" - but we're being sourced rather than run, so
> > > this obviously has to be "return 0".  This also explains why I didn't
> > > see the problem when I tested on a Netwinder.  I'll upload a fix.
> >
> > I doubt return 0 works better when sourcing.
>
> Are you sure?  It seems to work for me...

/me reads up on sourcing in bash manpage
You could be right. I thought sourcing meant that anything in the file 
effectively became part of the current script, but it talks about "read and 
execute", so it could be more like calling a function.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: