summaryrefslogtreecommitdiff
path: root/dev/release-aux/fix-title.pl
diff options
context:
space:
mode:
Diffstat (limited to 'dev/release-aux/fix-title.pl')
-rw-r--r--dev/release-aux/fix-title.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/release-aux/fix-title.pl b/dev/release-aux/fix-title.pl
new file mode 100644
index 0000000000..d3f00b984b
--- /dev/null
+++ b/dev/release-aux/fix-title.pl
@@ -0,0 +1,6 @@
+#! /usr/bin/perl
+
+BEGIN { my $prev }
+($_ = $prev) =~ s|^( *)(.*)$|"$1" . '=' x length($2)|e
+ if m|==========|;
+$prev = $_;