From ce1c001f7db86ff8f09c1203b965ed9f44531d7a Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 8 May 2022 03:00:48 +0000
Subject: CTAN sync 202205080300

---
 .../contrib/koma-script/source/scrdocstrip.tex     | 25 ++++++----------------
 1 file changed, 6 insertions(+), 19 deletions(-)

(limited to 'macros/latex/contrib/koma-script/source/scrdocstrip.tex')

diff --git a/macros/latex/contrib/koma-script/source/scrdocstrip.tex b/macros/latex/contrib/koma-script/source/scrdocstrip.tex
index 0c96d0f00d..c0f1078361 100644
--- a/macros/latex/contrib/koma-script/source/scrdocstrip.tex
+++ b/macros/latex/contrib/koma-script/source/scrdocstrip.tex
@@ -1,6 +1,6 @@
 % ======================================================================
 % scrdocstrip.tex
-% Copyright (c) Markus Kohm, 2013-2018
+% Copyright (c) Markus Kohm, 2013-2022
 %
 % This file is part of the LaTeX2e KOMA-Script bundle.
 %
@@ -16,24 +16,8 @@
 % The Current Maintainer and author of this work is Markus Kohm.
 %
 % This work consists of all files listed in manifest.txt.
-% ----------------------------------------------------------------------
-% scrdocstrip.tex
-% Copyright (c) Markus Kohm, 2013-2018
-%
-% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
-% Version 1.3c, verteilt und/oder veraendert werden.
-% Die neuste Version dieser Lizenz ist
-%   http://www.latex-project.org/lppl.txt
-% und Version 1.3c ist Teil aller Verteilungen von LaTeX
-% Version 2005/12/01 oder spaeter und dieses Werks.
-%
-% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
-% (allein durch den Autor verwaltet).
-%
-% Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm.
-% 
-% Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien.
 % ======================================================================
+% $Id: scrdocstrip.tex 3725 2022-02-26 12:17:09Z kohm $
 
 \expandafter\ifx\csname scrdocstripversion\endcsname\relax
   \let\KOMAbatchfile\batchfile
@@ -276,7 +260,10 @@
 \def\KNL{^\empty^J\perCent^^J}
 \def\XKNL{^\empty^J\perCent|^^J}
 \def\genericWarning#1#2{%
-  \string\immediate\string\write17{\KNL
+  \string\expandafter\string\ifx\string\csname\space scrWMSG\string\endcsname\string\relax^^J%
+  \space\space\string\def\string\scrWMSG{\string\immediate\string\write17}^^J%
+  \string\fi^^J%
+  \string\scrWMSG{\KNL
     +----------------------------------------------------------------------\KNL
     | WARNING (`#1'):\XKNL
     +----------------------------------------------------------------------\KNL
-- 
cgit v1.2.3

