summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.