Bug#557621: Patch

2011-09-15 Thread Martin Quinson
Back in 2009, you contributed a patch to the bug "quilt - Unhelpfull message if no patches directory". Your first try was a bit suboptimal, and some discussion followed about how to fix it. That discussion were cut short when it was indicated that upstream bugs should be discused upstream. Could y

Bug#557621: Patch

2009-12-04 Thread Raphael Hertzog
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_se

Bug#557621: Patch

2009-12-04 Thread David Paleino
On Friday 04 December 2009 11:13:15, Raphael Hertzog wrote: > Hi, > > have you tested your patch with existing non-empty quilt series ? Ouch! > [..] > This might be better: > local series=$(cat_series) > local retval=$? > local patch=$(echo $series | head -n 1) Unfortunately t

Bug#557621: Patch

2009-12-04 Thread Raphael Hertzog
Hi, have you tested your patch with existing non-empty quilt series ? On Fri, 04 Dec 2009, David Paleino wrote: > ++cat_series > ++local retval=$? > ++ > + local patch=$(cat_series | head -n 1) The first call to cat_series might output lines that will be considered as the return valu

Bug#557621: Patch

2009-12-04 Thread David Paleino
tags 557621 confirmed patch thanks Hello, I'm attaching a patch to fix this bug. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://snipr.com/qa_page `- 2BAB C62