r5391 - in branches/cross-lfs/BOOK/temp-system: common multilib

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun May 22 14:17:46 PDT 2005


Author: jhuntwork
Date: 2005-05-22 15:17:46 -0600 (Sun, 22 May 2005)
New Revision: 5391

Modified:
   branches/cross-lfs/BOOK/temp-system/common/bash.xml
   branches/cross-lfs/BOOK/temp-system/multilib/bash.xml
Log:
Adjusted sed command for bash in temp-system (removing -i flags from sed expressions)

Modified: branches/cross-lfs/BOOK/temp-system/common/bash.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/common/bash.xml	2005-05-22 20:10:45 UTC (rev 5390)
+++ branches/cross-lfs/BOOK/temp-system/common/bash.xml	2005-05-22 21:17:46 UTC (rev 5391)
@@ -32,7 +32,8 @@
 
 <para>Fix a minor issue during the build when cross-compling:</para>
 
-<screen><userinput>sed -i "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in</userinput></screen>
+<screen><userinput>mv Makefile.in Makefile.in.orig
+sed "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in.orig > Makefile.in</userinput></screen>
 
 <para>Bash has a problem when compiled against newer versions of Glibc, causing
 it to hang inappropriately.  This patch fixes the problem:</para>

Modified: branches/cross-lfs/BOOK/temp-system/multilib/bash.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/multilib/bash.xml	2005-05-22 20:10:45 UTC (rev 5390)
+++ branches/cross-lfs/BOOK/temp-system/multilib/bash.xml	2005-05-22 21:17:46 UTC (rev 5391)
@@ -32,7 +32,8 @@
 
 <para>Fix a minor issue during the build when cross-compling:</para>
 
-<screen><userinput>sed -i "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in</userinput></screen>
+<screen><userinput>mv Makefile.in Makefile.in.orig
+sed "s at size \$(Program)@${LFS_TARGET}-&@g"  Makefile.in.orig > Makefile.in</userinput></screen>
 
 <para>Bash has a problem when compiled against newer versions of Glibc, causing
 it to hang inappropriately.  This patch fixes the problem:</para>




More information about the lfs-book mailing list