From 807bf019bad5c6fe7dc3e1dea953a3e69b41fbbb Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 3 Aug 2024 18:17:44 +0200 Subject: fix(common/init): Don't try to assign the reuse template, replace it instead directly --- common/init | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'common/init') diff --git a/common/init b/common/init index e27c234..b1d2eb4 100644 --- a/common/init +++ b/common/init @@ -86,8 +86,9 @@ if curl --fail --silent --show-error "$default_license_url.txt" >/dev/null; then default_license_url="$default_license_url.txt" fi prompt LICENSE_URL "The url of the license" "$default_license_url" -prompt REUSE_TEMPLATE "The template used in reuse annotate" "$( - cat <./.reuse/templates/default.jinja2 {% for copyright_line in copyright_lines %} {{ copyright_line }} {% endfor %} @@ -102,8 +103,9 @@ 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 -)" "dont_ask" +fi echo "$DESCRIPTION" >.git/description -- cgit 1.4.1