On Fri, 04 Dec 2009, David Paleino wrote:
> I suspect that $? catches the variable assignment rather than the launched 
> command.

It's local the culprit, not the assignment:
$ essai() { local essai; essai=$(exit $1); echo $?; }
$ essai 1
1
$ essai 2
2

So split it in:
local series
series=$(cat_series)
local retval=$?

and it should work.

> > Before creating more patches, please consider my advice in the other mail.
> > We need more help cooperating with upstream rather than creating more
> > patches to forward/get merged.
> 
> Ok, sure. But I'm not creating patches specific to Debian, am I? ;)

Indeed no, but upstream changes are best discussed with upstream.

Cheers,
-- 
Raphaƫl Hertzog



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

Reply via email to