mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Fixed test 1023 when using daily snapshots
This commit is contained in:
parent
17df5d8caa
commit
d8373cb992
@ -31,7 +31,7 @@ if ( $what eq "version" ) {
|
|||||||
$curlconfigversion = "illegal value";
|
$curlconfigversion = "illegal value";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else { # "vernum" case
|
||||||
# Convert hex version to decimal for comparison's sake
|
# Convert hex version to decimal for comparison's sake
|
||||||
if($filever =~ /^(..)(..)(..)$/) {
|
if($filever =~ /^(..)(..)(..)$/) {
|
||||||
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
|
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
|
||||||
@ -41,7 +41,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Strip off the -DEV from the curl version if it's there
|
# Strip off the -DEV from the curl version if it's there
|
||||||
$version =~ s/-DEV$//;
|
$version =~ s/-\w*$//;
|
||||||
}
|
}
|
||||||
close CURLCONFIG;
|
close CURLCONFIG;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user