diff options
Diffstat (limited to 'lfs-latest-git.php')
-rw-r--r-- | lfs-latest-git.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lfs-latest-git.php b/lfs-latest-git.php index b380a5a83..06887b0bd 100644 --- a/lfs-latest-git.php +++ b/lfs-latest-git.php @@ -292,7 +292,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel return find_max( $lines, "/tcl\d/", "/^.*tcl(\d\.[\d\.]*\d)-src.*$/" ); if ( $package == "ninja" ) - return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); + return find_max( $lines, "/^ *v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); if ( $package == "gmp" ) return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" ); |