From 9447bd9732613c5419611bcb2b8b304d748b62b6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 5 Mar 2019 15:05:33 -0800 Subject: git-version-gen: fix --version copyright year * build-aux/git-version-gen, build-aux/move-if-change (version): --version output copyright year is now taken from script year, so that it no longer needs to be updated by hand. --- build-aux/move-if-change | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-aux/move-if-change') diff --git a/build-aux/move-if-change b/build-aux/move-if-change index 9538fdbac2..9073f1a500 100755 --- a/build-aux/move-if-change +++ b/build-aux/move-if-change @@ -36,9 +36,10 @@ The variable CMPPROG can be used to specify an alternative to 'cmp'. Report bugs to ." +year=`expr "$VERSION" : '\([^-]*\)'` version=`expr "$VERSION" : '\([^ ]*\)'` version="move-if-change (gnulib) $version -Copyright (C) 2011 Free Software Foundation, Inc. +Copyright $year Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." -- cgit v1.2.1