Changeset 615e37d for LFS


Ignore:
Timestamp:
04/13/2006 08:13:24 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
7636ee4
Parents:
7a755b9
Message:

Generating separate final system scripts for each iteration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r7a755b9 r615e37d  
    146146chapter6_Makefiles() {
    147147#----------------------------#
    148   # Set N and chapter6 for iteration targets
     148  # Set envars and scripts for iteration targets
    149149  if [[ -z "$1" ]] ; then
    150150    local N=""
     
    152152    local N=-build_$1
    153153    local chapter6=""
     154    mkdir chapter06$N
     155    cp chapter06/* chapter06$N
     156    for script in chapter06$N/* ; do
     157      sed -e 's/ln -sv/&f/g' \
     158          -e 's/mv -v/&f/g' \
     159          -e 's/rm -v/&f/g' \
     160          -e 's/mkdir -v/&p/g' \
     161          -e 's/mknod -m.*/& || true/' -i ${script}
     162    done
    154163  fi
    155164
    156165  echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6$N${R_arrow}"
    157166
    158   for file in chapter06/* ; do
     167  for file in chapter06$N/* ; do
    159168    # Keep the script file name
    160169    this_script=`basename $file`
Note: See TracChangeset for help on using the changeset viewer.