diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-05 15:05:33 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-05 15:05:58 -0800 |
commit | 9447bd9732613c5419611bcb2b8b304d748b62b6 (patch) | |
tree | aecd2da2eb599895551b1fce5eb4561e119ddc67 /build-aux/move-if-change | |
parent | 30f4fdcb53f803cb8308d34f3a51320812035c48 (diff) | |
download | gnulib-9447bd9732613c5419611bcb2b8b304d748b62b6.tar.gz |
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.
Diffstat (limited to 'build-aux/move-if-change')
-rwxr-xr-x | build-aux/move-if-change | 3 |
1 files changed, 2 insertions, 1 deletions
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 <bug-gnulib@gnu.org>." +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 <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." |