From 33f9644197a936808548364794d6005848b315e1 Mon Sep 17 00:00:00 2001 From: Atlas Cove Date: Thu, 7 Dec 2023 17:30:19 +0000 Subject: [PATCH] bugfix render.sh --- pfiles.rb | 7 ++++--- render.sh | 20 +++++++++++--------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/pfiles.rb b/pfiles.rb index e06b71b..334662a 100755 --- a/pfiles.rb +++ b/pfiles.rb @@ -1,6 +1,6 @@ #!/usr/bin/ruby # pfiles.rb -# v1.0-p3 +# v1.1-p0 require 'find' ignore=!File.file?('dat/ignore.txt') ? [] : File.readlines('dat/ignore.txt') if ignore != [] @@ -20,8 +20,8 @@ l=list.collect case ARGV.first when "doc" for i in l do - next if ignore.include?(i) or /\.v.html/.match?(i) - if /\.(txti|org|md|html)$/.match?(i) + next if ignore.include?(i) or /(?