diff options
Diffstat (limited to 'chapter05/fileutils-exp.xml')
-rw-r--r-- | chapter05/fileutils-exp.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml index 2a117d4e4..089e782ea 100644 --- a/chapter05/fileutils-exp.xml +++ b/chapter05/fileutils-exp.xml @@ -5,11 +5,11 @@ run this command in order to keep a backup of the file we are about to change.</para> -<para><screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &&</userinput> -<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><screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup && +sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \ + -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \ + lib/Makefile.in > lib/Makefile.in~ && +mv lib/Makefile.in~ lib/Makefile.in:</userinput></screen> This is used to fix a problem with building fileutils statically on glibc 2.2.3 systems. If this isn't done, then there is the possibility of all of the fileutils programs causing segmentation faults once chroot is entered |