diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-03-15 11:30:16 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-03-15 11:30:16 +0000 |
commit | 08fc41a52d3febb2d5c8136500d952a415ec80b7 (patch) | |
tree | 6c6a6df708a40c899eab732e33fadb2891309902 /chapter06 | |
parent | cf9c2ed16b09ffb28a96326a31beb69184fd6e40 (diff) |
sed command update
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@320 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/glibc-inst.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 8fd25bf08..3106c10c2 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -16,10 +16,11 @@ Install Glibc by running the following commands: <userinput>touch /etc/ld.so.conf &&</userinput> <userinput>mkdir /usr/src/glibc-build &&</userinput> <userinput>cd /usr/src/glibc-build &&</userinput> - <userinput>sed -e 's|$(PERL)|/usr/bin/perl|' \</userinput> - <userinput> ../glibc-2.2.1/malloc/Makefile > tmp~ - &&</userinput> - <userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &&</userinput> + <userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput> + <userinput> ../glibc-2.2.1/malloc/Makefile + > tmp~ &&</userinput> + <userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile && + </userinput> <userinput>../glibc-2.2.1/configure \</userinput> <userinput> --prefix=/usr --enable-add-ons \</userinput> |