Changeset b35ce44


Ignore:
Timestamp:
01/12/2013 07:58:34 AM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
f6ac406
Parents:
d33f161
Message:

change func_install_blfs:
-remove sqlite instructions using swig and tcl
-add sudo toa few command so that the directory can be cleaned more easily

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rd33f161 rb35ce44  
    66install_blfs_tools() {       # the scriptlets to build
    77#----------------------------# the dependency tools
     8set -e
    89# Install the files
    910[[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && mkdir -pv ${BUILDDIR}${BLFS_ROOT}
     
    112113
    113114# Move the scriptlets where they should be
    114 rm -rf $BUILDDIR$BLFS_ROOT/scripts
     115sudo rm -rf $BUILDDIR$BLFS_ROOT/scripts
    115116mv scripts $BUILDDIR$BLFS_ROOT
    116117
     
    126127# Downloads (or copy) to build_dir/sources
    127128pushd $BUILDDIR/sources
     129# Remove `unpacked' files if some have been left
     130sudo find . -name unpacked -exec rm \{\} \;
    128131FTP_SERVER=$SERVER/pub/blfs/ SRC_ARCHIVE=$SRC_ARCHIVE $BUILDDIR$BLFS_ROOT/download_script
    129132# The blfs-bootscripts package is at the wrong location
    130133mkdir -p blfs-bootscripts
    131 mv blfs-bootscripts*tar* blfs-bootscripts
     134cp blfs-bootscripts*tar* blfs-bootscripts
    132135popd
    133136rm -v $BUILDDIR$BLFS_ROOT/download_script
     
    142145if [ "$DEP_SVN" = y ]; then
    143146  sed -i -e /javahl/d -e /swig/d $BUILDDIR$BLFS_ROOT/scripts/*subversion
     147  sed -i -e '/pushd/,/popd/d' -e /tea/d $BUILDDIR$BLFS_ROOT/scripts/*sqlite
    144148fi
    145149if [ "$DEP_PYTHON" = y ]; then
     
    149153  sed -i 's/^make$/make -j1/' $BUILDDIR$BLFS_ROOT/scripts/*openssl
    150154fi
    151 
    152155# At last generates the build Makefile
    153156mkdir -p $BUILDDIR$BLFS_ROOT/work
Note: See TracChangeset for help on using the changeset viewer.