From cf174dc192c089fd1b57cf46322d963536346f0c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 4 Aug 2024 18:58:41 +0200 Subject: fix(common/init): Ensure that the template is properly formatted This includes avoiding removing linebreaks (as that breaks the jinja2 syntax) and removing a vim modeline, as it would otherwise be copied to the file the template is applied to. --- common/init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/init') diff --git a/common/init b/common/init index 557aa90..06409e5 100644 --- a/common/init +++ b/common/init @@ -110,7 +110,7 @@ fi prompt LICENSE_URL "The url of the license" "$default_license_url" if [ -e ./.reuse/templates/default.jinja2 ]; then - cat <./.reuse/templates/default.jinja2 + cat <./.reuse/templates/default.jinja2 {% for copyright_line in copyright_lines %} {{ copyright_line }} {% endfor %} @@ -125,7 +125,6 @@ This file is part of $APPLICATION_NAME_STYLIZED - $DESCRIPTION. You should have received a copy of the License along with this program. If not, see <$LICENSE_URL>. - EOF fi -- cgit 1.4.1