From ed4f11f2a73e4116328172bf3db85c9d40ca93a7 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 27 Feb 2017 14:00:04 +0000 Subject: [PATCH] Invert the logic for downloading tarballs: - First upstream url - Second upstrem ftp - Last mirror server. This allows to test whether upstream links are alive --- BLFS/xsl/scripts.xsl | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 95d8445..37d2c43 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -222,21 +222,23 @@ cd $UNPACKDIR $ else - + + + wget -T 30 -t 5 + + || + + + + wget -T 30 -t 5 + + || + + wget -T 30 -t 5 ${FTP_SERVER}svn/ /$ - - || - wget -T 30 -t 5 - - - - || - wget -T 30 -t 5 - - cp $