1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 14:35:03 -05:00

Made the test work on perl 5.00

This commit is contained in:
Dan Fandrich 2008-03-28 18:19:11 +00:00
parent cd2814725a
commit 7f7b643c0d

View File

@ -28,7 +28,7 @@ if ( $what eq "version" ) {
} }
else { else {
# Convert hex version to decimal for comparison's sake # Convert hex version to decimal for comparison's sake
/^([[:xdigit:]]{2})([[:xdigit:]]{2})([[:xdigit:]]{2})$/ ; /^(..)(..)(..)$/ ;
$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 -CVS from the curl version if it's there