Changeset 10c8b78 for LFS/master.sh


Ignore:
Timestamp:
12/05/2006 03:25:00 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
2512414
Parents:
6bb080e
Message:

More compare and related fixes.
Test build in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r6bb080e r10c8b78  
    178178          -e 's/mv -v/&f/g' \
    179179          -e 's/mkdir -v/&p/g' -i ${script}
     180      # Rename the scripts
     181      mv ${script} ${script}$N
    180182    done
    181183    # Remove Bzip2 binaries before make install
    182     sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
     184    sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2$N
    183185  fi
    184186
     
    197199
    198200    # Grab the name of the target.
    199     name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'`
     201    name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's,'$N',,'`
    200202
    201203    # Find the version of the command files, if it corresponds with the building of
     
    216218    case "${this_script}" in
    217219      *kernfs) runasroot="$runasroot ${this_script}" ;;
    218             *) chapter6="$chapter6 ${this_script}${N}" ;;
     220            *) chapter6="$chapter6 ${this_script}" ;;
    219221    esac
    220222
     
    229231    case "${this_script}" in
    230232      *kernfs)  LUSER_wrt_target  "${this_script}" "$PREV" ;;
    231       *)        CHROOT_wrt_target "${this_script}${N}" "$PREV" ;;
     233      *)        CHROOT_wrt_target "${this_script}" "$PREV" ;;
    232234    esac
    233235
     
    239241      case $name in
    240242        binutils | gcc | glibc )
    241           [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${this_script}${N}"
     243          [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${this_script}"
    242244          ;;
    243245        * )
    244           [[ "$TEST" = "2" ]] || [[ "$TEST" = "3" ]] && CHROOT_wrt_test_log "${this_script}${N}"
     246          [[ "$TEST" = "2" ]] || [[ "$TEST" = "3" ]] && CHROOT_wrt_test_log "${this_script}"
    245247          ;;
    246248      esac
     
    270272
    271273    # Keep the script file name for Makefile dependencies.
    272     PREV=${this_script}${N}
     274    PREV=${this_script}
    273275    # Set system_build envar for iteration targets
    274276    system_build=$chapter6
Note: See TracChangeset for help on using the changeset viewer.