summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-05-10 17:43:03 +0100
committerPádraig Brady <P@draigBrady.com>2021-05-10 17:44:57 +0100
commite35e4d17576d77079525fba61547d46c0b17bb63 (patch)
tree3693e0961bed3ea0b8fc0495c1194aec770e37d1 /bootstrap
parentbf483155e506b62a515fda9e92cbc4dd43629e70 (diff)
downloadcoreutils-e35e4d17576d77079525fba61547d46c0b17bb63.tar.gz
build: update gnulib submodule to latest
Fixes a bits/long-double.h include build issue on some systems. * bootstrap: Sync new --version option from gnulib. * gnulib: Update to lastest. Reported by Carl Edquist
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap14
1 files changed, 13 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index c17a36f1f..733659850 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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)