summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2015-05-21 10:00:38 -0400
committerRicardo Signes <rjbs@cpan.org>2015-05-21 10:09:00 -0400
commit17714d93ad51f622b105942fa06a7188a2126973 (patch)
treeaa6c0cd38b45598e657ba0d00e57d1cecc786e2e
parent96dd8d4d48dda1b8a6950a6b6439b5a2fc18f002 (diff)
downloadperl-17714d93ad51f622b105942fa06a7188a2126973.tar.gz
use ~1 instead of ^ for parent commit
^ caused problems under CMD.EXE; fix suggested by Nicholas Clark
-rwxr-xr-xPorting/cmpVERSION.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl
index 7964b9b56e..95f695fef0 100755
--- a/Porting/cmpVERSION.pl
+++ b/Porting/cmpVERSION.pl
@@ -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.