use ~1 instead of ^ for parent commit
authorRicardo Signes <rjbs@cpan.org>
Thu, 21 May 2015 14:00:38 +0000 (10:00 -0400)
committerRicardo Signes <rjbs@cpan.org>
Thu, 21 May 2015 14:09:00 +0000 (10:09 -0400)
^ caused problems under CMD.EXE; fix suggested by Nicholas Clark

Porting/cmpVERSION.pl

index 7964b9b..95f695f 100755 (executable)
@@ -42,7 +42,7 @@ unless (defined $tag_to_compare) {
         $check = `git describe --abbrev=0 $check 2>$null`;
         chomp $check;
         last unless $check =~ /-RC/;
-        $check .= '^';
+        $check .= '~1';
     }
     $tag_to_compare = $check;
     # Thanks to David Golden for this suggestion.