diff options
author | Jim Meyering <jim@meyering.net> | 2006-01-06 16:49:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-01-06 16:49:10 +0000 |
commit | 7e140557e907f9993f4f1adf7e386dabb0c9b010 (patch) | |
tree | 9275b28814da7ded68e0418eb487d9b31c86b255 | |
parent | 00d069f7d942a84dce149b466ef05b40722c7a20 (diff) | |
download | coreutils-7e140557e907f9993f4f1adf7e386dabb0c9b010.tar.xz |
(copyright-check): Use date +%Y in place of hard-coded 2005.
-rw-r--r-- | Makefile.maint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint index fced6c121..864c5591a 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -399,7 +399,7 @@ v_etc_file = lib/version-etc.c # Make sure that the copyright date in $(v_etc_file) is up to date. copyright-check: @if test -f $(v_etc_file); then \ - grep 'enum { COPYRIGHT_YEAR = 2005 };' $(v_etc_file) \ + grep 'enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' $(v_etc_file) \ >/dev/null \ || { echo 'out of date copyright in $(v_etc_file); update it' 1>&2; \ exit 1; }; \ |