s/CVS/DEV in the version string from the git repo
This commit is contained in:
parent
bed30bc6df
commit
a1a66c7cd6
@ -23,7 +23,7 @@ open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what l
|
|||||||
$_ = <CURLCONFIG>;
|
$_ = <CURLCONFIG>;
|
||||||
chomp;
|
chomp;
|
||||||
if ( $what eq "version" ) {
|
if ( $what eq "version" ) {
|
||||||
/^libcurl ([\.\d]+(-CVS)?)$/ ;
|
/^libcurl ([\.\d]+(-DEV)?)$/ ;
|
||||||
$curlconfigversion = $1;
|
$curlconfigversion = $1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -31,8 +31,8 @@ else {
|
|||||||
/^(..)(..)(..)$/ ;
|
/^(..)(..)(..)$/ ;
|
||||||
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
|
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
|
||||||
|
|
||||||
# Strip off the -CVS from the curl version if it's there
|
# Strip off the -DEV from the curl version if it's there
|
||||||
$version =~ s/-CVS$//;
|
$version =~ s/-DEV$//;
|
||||||
}
|
}
|
||||||
close CURLCONFIG;
|
close CURLCONFIG;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user