Changeset 9da16d9


Ignore:
Timestamp:
03/19/2017 04:17:18 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
c7c32a3
Parents:
3aa1acd
Message:

Fix a bug in the blfs scripts, occuring when the pacakge is neither a
tarball nor a zip file: copy the package from $SRC_DIR to the xxx-build dir.
And in case they are needed, copy the additional files too.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r3aa1acd r9da16d9  
    146146     UNPACKDIR=$PKG_DIR-build
    147147     mkdir $UNPACKDIR
    148      cp $PACKAGE $UNPACKDIR
     148     cp $SRC_DIR/$PACKAGE $UNPACKDIR
     149     cp $(find . -mindepth 1 -maxdepth 1 -type l) $UNPACKDIR
    149150     ;;
    150151esac
  • common/libs/func_install_blfs

    r3aa1acd r9da16d9  
    187187        -i $BUILDDIR$BLFS_ROOT/scripts/*lynx
    188188  fi
    189 fi
    190 # The  book instructions for CA certificates suppose that the cerdata.txt
    191 # file is in the same directory as make-ca.sh-<version>. This is not the
    192 # case with our default instructions. Just remove the "cd $UNPACKDIR" here.
    193 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then
    194   sed -i '/cd \$UNPACKDIR/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts
    195189fi
    196190# At last generates the build Makefile
Note: See TracChangeset for help on using the changeset viewer.