On Sun, Dec  6, 2009 at 10:43:23 +0100 (+0100), Jérémy Lal wrote:
> "foo; fCode=$?"
> stops execution if foo exits with an error ?!? (because of set -e)

True, I forgot to say that I read that "set -e" was supposed to be
deprecated now in scripts as being a bad idea.

> The pipes are on purpose, not an accident.
> Also i thought package scripts were supposed to be executed by dash...

Well whatever is /bin/sh I guess.  Hmm. I think I may have been
barking up the wrong tree - || seems to work fine.  Maybe I was
thinking of "|" rather than ||.

> I don't know where you got redmine 0.9.0~svn2798-1~bpo0804+1, and i won't
> fix this code (i'll even delete it since it is not really usefull if buggy).

That's fair enough :-)

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to