From bf1e3fa174cae908269904a5e2da9cf16ae0bc5d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 19 May 2023 12:18:39 -0500 Subject: [PATCH] Tweak ninja currency --- lfs-latest-git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.*$/" );