Skip to content
Snippets Groups Projects
Commit cb4cae8c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

do not abort on templates without replacement - show just a warning

parent 95770efc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment