From 0950d4cd08bf840410f125f3e474cd1465cc21de Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Mon, 30 Sep 2024 17:57:13 +0200
Subject: chore(version): v0.7.3

---
 build/c/init | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'build/c')

diff --git a/build/c/init b/build/c/init
index 104bd30..9ee0462 100644
--- a/build/c/init
+++ b/build/c/init
@@ -125,6 +125,12 @@ fi
 prompt LICENSE_URL "The url of the license" "$default_license_url"
 
 if [ -e ./.reuse/templates/default.jinja2 ]; then
+    if [ -n "$DESCRIPTION" ]; then
+        description_str=" - $DESCRIPTION"
+    else
+        description_str=""
+    fi
+
     cat <<EOF | fmt --uniform-spacing --width=85 --split-only >./.reuse/templates/default.jinja2
 {% for copyright_line in copyright_lines %}
 {{ copyright_line }}
@@ -136,7 +142,7 @@ SPDX-FileContributor: {{ contributor_line }}
 SPDX-License-Identifier: {{ expression }}
 {% endfor %}
 
-This file is part of $APPLICATION_NAME_STYLIZED - $DESCRIPTION.
+This file is part of $APPLICATION_NAME_STYLIZED$description_str.
 
 You should have received a copy of the License along with this program.
 If not, see <$LICENSE_URL>.
-- 
cgit 1.4.1