]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
conf2adoc: Fix the '-*- text -*-' regex
authorJorge Pereira <jpereiran@gmail.com>
Fri, 3 May 2019 19:30:11 +0000 (16:30 -0300)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 3 May 2019 19:48:46 +0000 (15:48 -0400)
scripts/asciidoc/conf2adoc

index 96c5cc3f2e611f8bb2b5908cb6fbf4cee092c970..b5a9f6463db913a4ce2eb9503d1ce72947ddf275 100755 (executable)
@@ -52,7 +52,7 @@ sub process_file {
                #
                #  Skip editor commands
                #
-               if (/^# -\*- text -\*-/) {
+               if (/^#\s*-\*- text -\*-/) {
                        next;
                }