]> granicus.if.org Git - curl/commitdiff
s/CVS/DEV in the version string from the git repo
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2010 09:38:17 +0000 (10:38 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2010 09:38:17 +0000 (10:38 +0100)
tests/libtest/test1022.pl

index a3f318abb4e6a3b1156488c58a8118eafdf1d462..60eee384c3441cb8dbd86e119e3618013baac2fe 100755 (executable)
@@ -23,7 +23,7 @@ open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what l
 $_ = <CURLCONFIG>;
 chomp;
 if ( $what eq "version" ) {
-    /^libcurl ([\.\d]+(-CVS)?)$/ ;
+    /^libcurl ([\.\d]+(-DEV)?)$/ ;
     $curlconfigversion = $1;
 }
 else {
@@ -31,8 +31,8 @@ else {
     /^(..)(..)(..)$/ ;
     $curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
 
-    # Strip off the -CVS from the curl version if it's there
-    $version =~ s/-CVS$//;
+    # Strip off the -DEV from the curl version if it's there
+    $version =~ s/-DEV$//;
 }
 close CURLCONFIG;