Changeset 64cc345 for CLFS/master.sh


Ignore:
Timestamp:
03/28/2006 08:25:02 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
769a219
Parents:
60b56fd
Message:

Removed a duplicate function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r60b56fd r64cc345  
    134134    [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" &&  echo -e '\ttrue' >> $MKFILE.tmp
    135135    #
    136     wrt_run_as_lfs "${this_script}" "${file}"
     136    wrt_run_as_su "${this_script}" "${file}"
    137137    #
    138138    [[ "$vrs" != "" ]] && wrt_remove_build_dirs "${name}"
     
    186186    [[ "$vrs" != "" ]] && wrt_unpack "$name-$vrs.tar.*" && echo -e '\ttrue' >> $MKFILE.tmp
    187187    #
    188     wrt_run_as_lfs "${this_script}" "${file}"
     188    wrt_run_as_su "${this_script}" "${file}"
    189189    #
    190190    [[ "$vrs" != "" ]] && wrt_remove_build_dirs "${name}"
     
    264264                   wrt_copy_fstab "${this_script}"
    265265                 else
    266                    wrt_run_as_lfs  "${this_script}" "${file}"
     266                   wrt_run_as_su  "${this_script}" "${file}"
    267267                 fi
    268268         ;;
    269       *)         wrt_run_as_lfs  "${this_script}" "${file}"       ;;
     269      *)         wrt_run_as_su  "${this_script}" "${file}"       ;;
    270270    esac
    271271    #
     
    334334    case $this_script in
    335335      *kernfs)        wrt_run_as_root    "${this_script}" "${file}"  ;;
    336       *util-linux)    wrt_run_as_lfs     "${this_script}" "${file}"  ;;
     336      *util-linux)    wrt_run_as_su     "${this_script}" "${file}"  ;;
    337337      *)              wrt_run_as_chroot1 "${this_script}" "${file}"  ;;
    338338    esac
     
    538538
    539539    # Test if the stripping phase must be skipped
    540     case $this_script in 
     540    case $this_script in
    541541      *stripping*) [[ "$STRIP" = "0" ]] && continue
    542542       ;;
     
    10071007(
    10081008        cat << EOF
    1009        
     1009
    10101010all:    023-creatingtoolsdir 024-creatingcrossdir 025-addinguser 026-settingenvironment \
    10111011        $cross_tools \
     
    10451045clean-makeboot:
    10461046        rm -rf /tools/*
    1047         rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools 
     1047        rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools
    10481048        rm -f restore-lfs-env sources-dir
    10491049        cd logs && rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools && cd ..
Note: See TracChangeset for help on using the changeset viewer.