diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 1985662..bfc4f5c 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -220,8 +220,6 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5 - @@ -321,9 +319,23 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5 + + + + + + PATCH= + + if [[ ! -f $PATCH ]] ; then + + if [[ -f $SRC_ARCHIVE/$PKG_DIR/$PATCH ]] ; then + cp $SRC_ARCHIVE/$PKG_DIR/$PATCH $PATCH + elif [[ -f $SRC_ARCHIVE/$PATCH ]] ; then + cp $SRC_ARCHIVE/$PATCH $PATCH else wget -T 30 -t 5 + fi fi @@ -346,7 +358,7 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5 elif [[ -f $SRC_ARCHIVE/$PACKAGE1 ]] ; then cp $SRC_ARCHIVE/$PACKAGE1 $PACKAGE1 else - wget -T 30 -t 5 ${FTP_SERVER}blfs/svn/ + wget -T 30 -t 5 ${FTP_SERVER}svn/ /$PACKAGE1 || \ wget -T 30 -t 5