aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2023-05-19 12:18:39 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2023-05-19 12:18:39 -0500
commitbf1e3fa174cae908269904a5e2da9cf16ae0bc5d (patch)
treeefb09c1d330e1b74e24c005f4b67633157ebe75e
parent0a7df4c5db8e0e33e96cf8f5fae7cac0f0e82c56 (diff)
Tweak ninja currency
-rw-r--r--lfs-latest-git.php2
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.*$/" );