mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Update currency script for change to ftpmirror.gnu.org.
This commit is contained in:
@@ -64,7 +64,7 @@ function find_even_max( $lines, $regex_match, $regex_replace )
|
|||||||
|
|
||||||
function http_get_file( $url )
|
function http_get_file( $url )
|
||||||
{
|
{
|
||||||
$url = preg_replace( "/ftp.gnu.org/", "mirrors.ibiblio.org", $url );
|
$url = preg_replace( "/ftpmirror.gnu.org/", "mirrors.ibiblio.org/gnu", $url );
|
||||||
|
|
||||||
if ( preg_match( "/mpfr/", $url ) )
|
if ( preg_match( "/mpfr/", $url ) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user