Glibc build failure with /bin/sh -> /bin/dash

Dan Nicholson dbn.lists at gmail.com
Wed Feb 14 17:51:12 PST 2007


On 2/14/07, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On 2/14/07, George Boudreau <georgeb at linuxfromscratch.org> wrote:
>
> > Most of the changes I made were for the pretty stuff. Dash does not have
> >   'echo -e' and the 'time' function does not work like the Bash version.
> > Therefore I had to force bash to be the shell.
>
> Here's a patch to not use 'echo -e'. Basically, it removes the use of
> \n by calling echo multiple times. Tested with bash and dash on a
> dummy Makefile.

Another patch. This uses shell variables and perl to calculate the
time. It's a little ugly and definitely breaks the sbu generator. The
printf could be tweaked to what's wanted. It seems to work with bash
and dash for a dummy Makefile.

--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time-perl.diff
Type: text/x-patch
Size: 2511 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20070214/743d9c7d/attachment.bin>


More information about the alfs-discuss mailing list