Closed GoogleCodeExporter closed 9 years ago
This looks like another problem stemming from Ubuntu's switch to make /bin/sh =>
/bin/dash. Could you do me a favor and set SHELL=bash just to see what happens?
Meanwhile, I'll look at the substitutions that are being made. It looks like
it's
failing in one of the ${} substitutions.
In fact, if I were a betting man, I'd be blaming ${p:0:1} inside the for loop.
Just
tried that on dash, and sure enough, it hates it. That's unfortunate. It will
probably also barf on the ${formatfield:0:$${#formatfield}-${#p}} as well.
Sigh.
I'm not sure how else to make this happen in dash, and I'm having a hard time
finding
documentation detailing precisely what is supported. Any pointers you have
would be
helpful.
Original comment by shiblon
on 23 Oct 2008 at 3:52
Please verify that r44 works for you. It has been patched to use standard case
statements to detect lines that start with =, and now uses sed to make the
spacing
look good instead of the bash-specific string slicing operators.
Original comment by shiblon
on 23 Oct 2008 at 4:31
Changing status to fixed, awaiting verification.
Original comment by shiblon
on 23 Oct 2008 at 4:31
This works:
$ make SHELL=bash _check_programs
r44 works too.
I can't understand why Ubuntu insists on using dash. Oh well. Thanks for the
quick
response, you can consider this fix verified.
Original comment by eorli...@gmail.com
on 23 Oct 2008 at 4:39
Marking as verified. Thanks for the bug report!
Original comment by shiblon
on 23 Oct 2008 at 4:44
Original issue reported on code.google.com by
eorli...@gmail.com
on 23 Oct 2008 at 3:23