diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-06-23 07:08:49 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-06-23 07:18:30 +0200 |
commit | ca403f672c77cb3adf3a244630bebed9cf6544fa (patch) | |
tree | 806788c2f7899bbb12faf439f50cf2c79abd512a /bootstrap | |
parent | 5c554ea8a3b647be281bc7b49d76bedf7c73b292 (diff) | |
download | bison-ca403f672c77cb3adf3a244630bebed9cf6544fa.tar.gz |
gnulib: update
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2021-01-10.00; # UTC +scriptversion=2021-04-11.09; # UTC # Bootstrap this package from checked-out sources. @@ -115,6 +115,12 @@ Running without arguments will suffice in most cases. EOF } +copyright_year=`echo "$scriptversion" | sed -e 's/[^0-9].*//'` +copyright="Copyright (C) ${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." + # warnf_ FORMAT-STRING ARG1... warnf_ () { @@ -337,6 +343,12 @@ do --help) usage exit;; + --version) + set -e + echo "bootstrap $scriptversion" + echo "$copyright" + exit 0 + ;; --gnulib-srcdir=*) GNULIB_SRCDIR=${option#--gnulib-srcdir=};; --skip-po) |