r1706 - profiles/LFS/trunk/chapter06

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Feb 6 08:13:16 PST 2005


Author: kpfleming
Date: 2005-02-06 09:13:15 -0700 (Sun, 06 Feb 2005)
New Revision: 1706

Modified:
   profiles/LFS/trunk/chapter06/shadow.xml
Log:
correct command to delete groups-related lines from man/Makefile



Modified: profiles/LFS/trunk/chapter06/shadow.xml
===================================================================
--- profiles/LFS/trunk/chapter06/shadow.xml	2005-02-05 16:58:12 UTC (rev 1705)
+++ profiles/LFS/trunk/chapter06/shadow.xml	2005-02-06 16:13:15 UTC (rev 1706)
@@ -34,11 +34,15 @@
 			<replace></replace>
 		</search_replace>
 
-		<search_replace>
-			<file>man/Makefile</file>
-			<find>groups</find>
-			<replace></replace>
-		</search_replace>
+		<!--
+		  Note: the next step uses sed, because the matching
+		  lines need to be removed from the file.
+		-->
+		<execute command="sed">
+			<param>-i</param>
+			<param>-e '/groups/d'</param>
+			<param>man/Makefile</param>
+		</execute>
 
 		<make>
 			<param>&jlevel;</param>	




More information about the alfs-log mailing list