diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-28 01:31:10 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-28 01:31:10 +0000 |
commit | de3414e268b51c32310298e82413ecce873a8d53 (patch) | |
tree | d8660ea51aabd606484deafc21aac315576fa8b9 /chapter05/fileutils-inst.xml | |
parent | b5cb6b61f47d608dba03632e70845b86fa0661c7 (diff) |
Transformed the two sed commands into one sed that does both
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1080 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/fileutils-inst.xml')
-rw-r--r-- | chapter05/fileutils-inst.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index b9bd7aa3a..2dca914a6 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -8,10 +8,10 @@ and Durons are the most reported used CPU's). If you are in this category, run the following to sed commands before you compile this package. <screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &&</userinput> -<userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput> -<userinput> lib/Makefile.in > tmp &&</userinput> -<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput> -<userinput> tmp > lib/Makefile.in</userinput></screen></para> +<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput> +<userinput> -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput> +<userinput> lib/Makefile.in > lib/Makefile.in~ &&</userinput> +<userinput>mv lib/Makefile.in~ lib/Makefile.in</userinput></screen></para> <para>Install fileutils by running the following commands: <screen><userinput>./configure --disable-nls \</userinput> |