diff options
author | Ricardo Signes <rjbs@cpan.org> | 2015-05-21 10:00:38 -0400 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-08-23 00:19:33 +0100 |
commit | a424c7b38e1d235ca8e5dc410ed51b7b4f9045e9 (patch) | |
tree | 9915fa01e0a613a6b35c4326ec42037606ed1b49 | |
parent | 3d198cb978761354b2e102812dc3d79fe20fef7e (diff) | |
download | perl-a424c7b38e1d235ca8e5dc410ed51b7b4f9045e9.tar.gz |
use ~1 instead of ^ for parent commit
^ caused problems under CMD.EXE; fix suggested by Nicholas Clark
(cherry picked from commit 17714d93ad51f622b105942fa06a7188a2126973)
-rwxr-xr-x | Porting/cmpVERSION.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl index f583191ad3..bcc5eeaca2 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. |