On Sunday 10 January 2010 04:40:08 Adam D. Barratt wrote:
> Hi,
> 
> On Sun, January 10, 2010 09:42, Joseph Rawson wrote:
> > I was hoping that this problem would've been fixed by now, but since I
> > got tired of being unable to run debuild, I tried to figure out what
> > happened.
> >
> > I compared the debuild from lenny to find what change had caused the
> > problem,
> > and I just reverted that part of debuild back to the way it was done in
> > lenny.
> > I attached a simple patch that I've been using successfully (so far).
> 
> -        $shell_cmd .= 'while [ $# -gt 0 ]; do printf "%s\n" $1; shift;
> done;' . "\n";
> +        $shell_cmd .= 'while [ $# -gt 0 ]; do echo $1; shift; done;' .
>  "\n";
> 
> Unfortunately, that also reintroduces another bug, which is what the
> change was made to fix in the first place, namely that the use of echo
> means that the dpkg / lintian options parameters can't contain any string
> which a valid option to echo (e.g. "-e").
> 
> Regards,
> 
> Adam
> 
I figured that the line was put there for a reason.  I just didn't know what 
it was.  For me, the old line does what I want it to, while the new one 
doesn't.  Now that I have looked more closely at this, the code in question 
isn't really perl, as much as shell code, so I will ponder another solution.

Here is another workaround, that works for me, and this may be something that 
can best be fixed in the documentation.

in ~/.devscripts:
old line:
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-m'Joseph Rawson (new email) 
<umebos...@gmail.com>' -sa"

new line:
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-m\'Joseph\ Rawson\ \(new email\)\ 
<umebos...@gmail.com>\' -sa"

Escaping the single quotes, the spaces and the parentheses seems to work just 
fine with the new code.

I think that this solution might be better.

-- 
Thanks:
Joseph Rawson

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

Reply via email to