diff --git a/src/header.sh b/src/header.sh
index ec6e41f62f7155a34db7b0e37824c225d488f597..60f8fa46ec00b33a6aad3a9f95c6f3cfc8167e0c 100755
--- a/src/header.sh
+++ b/src/header.sh
@@ -34,7 +34,10 @@ then
 else
     years=$(git log --follow -M75% --format=%aD $file |
     sort -r -n -k 4 |
-    awk '{if(NR==1)last=$4;}END{
+    awk -v now="$(date +%Y)" '{if(NR==1)last=$4;}END{
+# override last with now
+    last=now
+# Notice that the script could be simplified, I leave it as is for reference:
     first=$4
     if(first=="") print ""
     else if(first==last) print first;