From 43dec7b70f5a7164858acd2bc6f3d89e833162b4 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 8 Aug 2022 18:45:15 -0700 Subject: [PATCH] applets/gencstd23: fix paragraph diff special case for n1570 --- applets/gencstd23.pl | 6 ++---- lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/applets/gencstd23.pl b/applets/gencstd23.pl index 3c7570b2..e84dc60a 100755 --- a/applets/gencstd23.pl +++ b/applets/gencstd23.pl @@ -118,10 +118,8 @@ sub gen_data { print STDERR "paragraph $p: [$t]\n" if $debug >= 3; - if ($input eq 'n1570.txt' && $this_section !~ /^(?:K.3.9.(?:2|3))/) { - if ($p - $last_p != 1) { - die "Paragraph diff invalid"; - } + if ($p - $last_p != 1) { + die "Paragraph diff invalid" unless ($input eq 'n1570.in' && $this_section =~ /^(?:K.3.9.(?:2|3))/); } # check for footnotes diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 74657e6b..afedeb55 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4566, - BUILD_DATE => "2022-08-07", + BUILD_REVISION => 4569, + BUILD_DATE => "2022-08-08", }; sub initialize {}