aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl <thomas@linuxfromscratch.org>2023-09-11 11:26:10 +0200
committerThomas Trepl <thomas@linuxfromscratch.org>2023-09-11 11:26:10 +0200
commit0627fc2281ad4ef567ae49db6938a5c37bde712f (patch)
tree5ab75ea4e92ae66e3975a308ad19af499de84e6d
parentcb6fcea9bf179795b704a26f44f9ec6951ae0342 (diff)
Fix hardcoded copyright year
-rwxr-xr-xgit-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-version.sh b/git-version.sh
index 6dd3d90be..f6ff6d44a 100755
--- a/git-version.sh
+++ b/git-version.sh
@@ -24,7 +24,7 @@ if ! git status > /dev/null; then
echo "<!ENTITY version \"unknown-systemd\">" >> version.ent
echo "]]>" >> version.ent
echo "<!ENTITY releasedate \"unknown\">" >> version.ent
- echo "<!ENTITY copyrightdate \"1999-2022\">" >> version.ent
+ echo "<!ENTITY copyrightdate \"1999-$(date +%Y)\">" >> version.ent
exit 0
fi