I'm trying to build the toolchain in Ubuntu and have crashed against the missing
quotes error. Syed reported to the list that the problem is with dash, and that
the solution is either using bash or applying this patch:

--- libc/csu/Makefile    2005/01/03 17:57:14    1.75
+++ libc/csu/Makefile    2005/03/01 01:44:36    1.76
<at>  <at>  -241,7 +241,7  <at>  <at>      esac; \
     files="$(all-Banner-files)";                \
     if test -n "$$files"; then                \
-       echo "\"Available extensions:\\n\"";            \
+       printf '"Available extensions:\\n"\n';        \
       sed -e '/^#/d' -e 's/^[[:space:]]*/    /'        \
           -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;        \
     fi) > $ <at> T


I've provisionally switched to bash, but I'd much rather apply the patch. Where
should I put those lines so that the patch is applied? I've tried a few options,
but was unsuccessful.

Many thanks for your attention,

Nacho de los RĂ­os Tormo


-- 
ptxdist mailing list
[email protected]

Reply via email to