diff options
author | Ailin Nemui <ailin@z30a.localdomain> | 2018-03-29 00:09:30 +0200 |
---|---|---|
committer | Ailin Nemui <ailin@z30a.localdomain> | 2018-03-29 00:09:30 +0200 |
commit | fe3fa1d05984b6c175c4a362c5c2c6133408212d (patch) | |
tree | 5934f06a091a6d1b7fe14f64b9ccc5a635282769 | |
parent | 5d708f0e18da147a83683c87ec44605ad2673d11 (diff) | |
download | irssi.github.io-fe3fa1d05984b6c175c4a362c5c2c6133408212d.zip |
fix bug with editor temp files
-rw-r--r-- | _tools/help2md.pl | 2 |
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; |