mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
15b9db4882
@ -85,8 +85,9 @@ function http_get_file( $url )
|
|||||||
|
|
||||||
exec( "curl --location --silent --max-time 30 $url", $dir );
|
exec( "curl --location --silent --max-time 30 $url", $dir );
|
||||||
|
|
||||||
$s = implode( "\n", $dir );
|
$dir = implode( "\n", $dir );
|
||||||
$dir = strip_tags( $s );
|
if ( !preg_match( "/api.github.com/", $url) )
|
||||||
|
$dir = strip_tags( $dir );
|
||||||
return explode( "\n", $dir );
|
return explode( "\n", $dir );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user