diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-05-19 12:18:39 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-05-19 12:18:39 -0500 |
commit | bf1e3fa174cae908269904a5e2da9cf16ae0bc5d (patch) | |
tree | efb09c1d330e1b74e24c005f4b67633157ebe75e | |
parent | 0a7df4c5db8e0e33e96cf8f5fae7cac0f0e82c56 (diff) |
Tweak ninja currency
-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.*$/" ); |