mirror of
https://github.com/curl/curl.git
synced 2026-07-16 01:07:17 +03:00
runtests: fix %VERNUM
It needs to be set to the leading digits and dots only, so that the `-[date]` suffix strings are not included, as those used in the daily snapshots. Fixes #14035 Reported-by: Marcel Raad Closes #14036
This commit is contained in:
parent
f7c19b45dc
commit
cdbfad96ff
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ sub checksystemfeatures {
|
|||
$curl = $_;
|
||||
$CURLVERSION = $1;
|
||||
$CURLVERNUM = $CURLVERSION;
|
||||
$CURLVERNUM =~ s/[^0-9.]//g; # dots and numbers only
|
||||
$CURLVERNUM =~ s/^([0-9.]+)(.*)/$1/; # leading dots and numbers
|
||||
$curl =~ s/^(.*)(libcurl.*)/$1/g || die "Failure determining curl binary version";
|
||||
|
||||
$libcurl = $2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue