summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAilin Nemui <ailin@z30a.localdomain>2018-03-29 00:09:30 +0200
committerAilin Nemui <ailin@z30a.localdomain>2018-03-29 00:09:30 +0200
commitfe3fa1d05984b6c175c4a362c5c2c6133408212d (patch)
tree5934f06a091a6d1b7fe14f64b9ccc5a635282769
parent5d708f0e18da147a83683c87ec44605ad2673d11 (diff)
downloadirssi.github.io-fe3fa1d05984b6c175c4a362c5c2c6133408212d.zip
fix bug with editor temp files
-rw-r--r--_tools/help2md.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/_tools/help2md.pl b/_tools/help2md.pl
index c0d852e..054d286 100644
--- a/_tools/help2md.pl
+++ b/_tools/help2md.pl
@@ -138,7 +138,7 @@ sub main {
system("cd \Q$dir\E; perl utils/syntax.pl");
chomp (my @files = `find \Q$dir\E/docs/help -type f`);
- @files = grep !/Makefile/, @files;
+ @files = grep !/[~#]$/, grep !/Makefile/, @files;
s{^\Q$dir\E/docs/help(?:/|$)}{} for @files;