mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:03:36 +03:00
Fixed test 1022 when using daily snapshots
This commit is contained in:
parent
c2c8948190
commit
1b6df743f6
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ my $what=$ARGV[2];
|
|||
open(CURL, "$ARGV[1]") || die "Can't open curl --version list in $ARGV[1]\n";
|
||||
$_ = <CURL>;
|
||||
chomp;
|
||||
/libcurl\/([\.\d]+(-DEV)?)/;
|
||||
/libcurl\/([\.\d]+((-DEV)|(-\d+))?)/;
|
||||
my $version = $1;
|
||||
close CURL;
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ $_ = <CURLCONFIG>;
|
|||
chomp;
|
||||
my $filever=$_;
|
||||
if ( $what eq "version" ) {
|
||||
if($filever =~ /^libcurl ([\.\d]+(-DEV)?)$/) {
|
||||
if($filever =~ /^libcurl ([\.\d]+((-DEV)|(-\d+))?)$/) {
|
||||
$curlconfigversion = $1;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue