- Timestamp:
- 09/27/2005 06:13:19 PM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 0bad6ba
- Parents:
- c4cf6de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
rc4cf6de rdc2fee8 156 156 echo -n "Extracting commands... " 157 157 158 # Dump the commands in text form from the LFS book.158 # Dump the commands in shell script form from the LFS book. 159 159 xsltproc --nonet --xinclude -o ./commands/ $XSL \ 160 160 lfs-$LFSVRS/index.xml >>$JHALFSDIR/$LOG 2>&1 … … 287 287 fi 288 288 289 # # Drop in the actual commands that were parsed from the book290 # # These seds add an extra $ to each variable so make doesn't break,291 # # add tabs to the beginning of each line, and add ' && \' to the end292 # # of each line except for those that end in '\'.293 # cat $i | sed -e 's:\$:&&:g' -e 's:^:\t:' -e 's:[^\\]$:& \&\& \\:' >> $MKFILE.tmp294 # # This sed removes the ' && \' from the last command of each target295 # sed -i '$s: \&\& \\::' $MKFILE.tmp296 297 289 # Run the script 298 290 echo -e "\tsu - lfs -c \"/bin/bash $file\"" >> $MKFILE.tmp
Note:
See TracChangeset
for help on using the changeset viewer.