From dc2fee80367d3325f3c70f9cdebe468bffadf209 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Tue, 27 Sep 2005 18:13:19 +0000 Subject: [PATCH] Removed now uneeded code. --- jhalfs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/jhalfs b/jhalfs index 9153c97..2db4e3c 100755 --- a/jhalfs +++ b/jhalfs @@ -155,7 +155,7 @@ extract_commands() { 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 @@ build_Makefile() { 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