diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-15 12:50:02 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-15 12:50:02 +0000 |
commit | 8f5efb62001439e55fbacf47e2b4a9f21b6faa01 (patch) | |
tree | 2da80211de9958c3003fbc2721ba240c7b0a41c5 /chapter06/glibc-inst.xml | |
parent | 2bcd77192f30d42f7001d711e33a94a86a3eedf1 (diff) |
Bug 125: simplify seds
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index b39be8a8b..be7bf6b7a 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -15,15 +15,15 @@ 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>sed 's|$(PERL)|/usr/bin/perl|' \</userinput> <userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput> <userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput> -<userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> +<userinput>sed 's/root/0/' ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> <userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile &&</userinput> <userinput>../glibc-&glibc-version;/configure \</userinput> <userinput> --prefix=/usr --enable-add-ons \</userinput> <userinput> --libexecdir=/usr/bin &&</userinput> -<userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/ \</userinput> +<userinput>sed 's/cross-compiling = yes/cross-compiling = no/' \</userinput> <userinput> config.make > config.make~ &&</userinput> <userinput>mv config.make~ config.make &&</userinput> <userinput>make &&</userinput> |