diff options
author | Thomas Trepl <thomas@linuxfromscratch.org> | 2023-09-11 11:26:10 +0200 |
---|---|---|
committer | Thomas Trepl <thomas@linuxfromscratch.org> | 2023-09-11 11:26:10 +0200 |
commit | 0627fc2281ad4ef567ae49db6938a5c37bde712f (patch) | |
tree | 5ab75ea4e92ae66e3975a308ad19af499de84e6d | |
parent | cb6fcea9bf179795b704a26f44f9ec6951ae0342 (diff) |
Fix hardcoded copyright year
-rwxr-xr-x | git-version.sh | 2 |
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 |