aboutsummaryrefslogtreecommitdiffstats
path: root/git-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-version.sh')
-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