diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 95ad570cb..ec3767dcb 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -12,9 +12,13 @@ would do.</para> <userinput>touch /etc/ld.so.conf &&</userinput> <userinput>mkdir ../glibc-build &&</userinput> <userinput>cd ../glibc-build &&</userinput> -<userinput>sed 's|$(PERL)|/usr/bin/perl|' \</userinput> +<userinput>cp -f ../glibc-&glibc-version;/malloc/Makefile \</userinput> +<userinput> ../glibc-&glibc-version;/malloc/Makefile.backup &&</userinput> +<userinput>sed 's%\$(PERL)%/usr/bin/perl%' \</userinput> <userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput> <userinput>mv -f tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput> +<userinput>cp -f ../glibc-&glibc-version;/login/Makefile \</userinput> +<userinput> ../glibc-&glibc-version;/login/Makefile.backup &&</userinput> <userinput>sed 's/root/0/' ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> <userinput>mv -f tmp~ ../glibc-&glibc-version;/login/Makefile &&</userinput> <userinput>../glibc-&glibc-version;/configure \</userinput> |