r2022 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Sep 27 11:13:20 PDT 2005


Author: manuel
Date: 2005-09-27 12:13:19 -0600 (Tue, 27 Sep 2005)
New Revision: 2022

Modified:
   jhalfs/trunk/jhalfs
Log:
Removed now uneeded code.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-09-27 18:08:05 UTC (rev 2021)
+++ jhalfs/trunk/jhalfs	2005-09-27 18:13:19 UTC (rev 2022)
@@ -155,7 +155,7 @@
   if [ -d commands ] ; then rm -rf commands ; fi && mkdir commands
   echo -n "Extracting commands... "
 
-  # Dump the commands in text form from the LFS book.
+  # Dump the commands in shell script form from the LFS book.
   xsltproc --nonet --xinclude -o ./commands/ $XSL \
   lfs-$LFSVRS/index.xml >>$JHALFSDIR/$LOG 2>&1
 
@@ -286,14 +286,6 @@
     echo -e "\tcd \$(SRC)/\$\$ROOT && \\" >> $MKFILE.tmp
   fi
 
-#   # Drop in the actual commands that were parsed from the book
-#   # These seds add an extra $ to each variable so make doesn't break,
-#   # add tabs to the beginning of each line, and add ' && \' to the end
-#   # of each line except for those that end in '\'.
-#   cat $i | sed -e 's:\$:&&:g' -e 's:^:\t:' -e 's:[^\\]$:& \&\& \\:' >> $MKFILE.tmp
-#   # This sed removes the ' && \' from the last command of each target
-#   sed -i '$s: \&\& \\::' $MKFILE.tmp
-
   # Run the script
   echo -e "\tsu - lfs -c \"/bin/bash $file\"" >> $MKFILE.tmp
 




More information about the alfs-log mailing list