Changeset ab7bac5 for LFS


Ignore:
Timestamp:
05/27/2006 09:22:42 PM (18 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
b7faa5a
Parents:
f358747
Message:

Added instructions to always remove source and -build directories before running specific package commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    rf358747 rab7bac5  
    110110        FILE="$name-$vrs.tar.*"
    111111      fi
    112 
     112      # Always remove possibly exiting unpacked source directories before beginning
     113      # to build. This prevent build failures from fogetting to manually remove
     114      # directories from previous runs of jhalfs.
     115      wrt_remove_build_dirs "$name"
    113116      # Insert instructions for unpacking the package and to set the PKGDIR variable.
    114117      wrt_unpack "$FILE"
     
    216219    if [ "$vrs" != "" ] ; then
    217220      FILE="$name-$vrs.tar.*"
     221      # Always remove possibly exiting unpacked source directories before beginning
     222      # to build. This prevent build failures from fogetting to manually remove
     223      # directories from previous runs of jhalfs.
     224      wrt_remove_build_dirs "$name"
    218225      wrt_unpack2 "$FILE"
    219226      [[ "$OPTIMIZE" != "0" ]] &&  wrt_optimize "$name" && wrt_makeflags "$name"
     
    443450                rm -rf /home/lfs; \\
    444451        fi;
     452        -rm -f /tmp/unpacked
    445453       
    446454EOF
Note: See TracChangeset for help on using the changeset viewer.