From cb4cae8c0481dae6a1da54e1bf90f593f414d78b Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Fri, 5 Nov 2021 10:46:18 +0100
Subject: [PATCH] do not abort on templates without replacement - show just a
 warning

---
 bin/create_config.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bin/create_config.sh b/bin/create_config.sh
index 23cfc9d..7676648 100755
--- a/bin/create_config.sh
+++ b/bin/create_config.sh
@@ -123,9 +123,6 @@ diff "$tplfile" "$tmpfile"
 if [ $? -eq 0 ]; then
     _warn "WARNING:"
     _warn "The template was unchanged and will be written directly as output file without any changes."
-    _warn "Replacements in $tplfile: $(grep '<\%\=\ *\@replace\[' ${tplfile} | wc -l )"
-    grep '<\%\=\ *\@replace\[' ${tplfile}
-    echo
     # echo Content of relacement files:
     # cat $replacefile
     # exit 3
-- 
GitLab