summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-09-02 12:55:45 +0200
committerUlrich Müller <ulm@gentoo.org>2021-09-02 12:58:48 +0200
commit19400683f19863f94f23592c081767797274d09b (patch)
tree6934ad3f10d46cb42854ef2b8ccaa5a209f0ef32 /scripts/bootstrap.sh
parentdev-libs/rocksdb: apply upstream libatomic check (diff)
downloadgentoo-19400683f19863f94f23592c081767797274d09b.tar.gz
gentoo-19400683f19863f94f23592c081767797274d09b.tar.bz2
gentoo-19400683f19863f94f23592c081767797274d09b.zip
scripts/bootstrap.sh: Fix version
There is no CVS $Id$ any more. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-xscripts/bootstrap.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 46026a79e1c9..a84263ba448e 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -1,7 +1,9 @@
#!/bin/bash
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+file_version="2021.0" # update manually: <year>.<counter>
+
# people who were here:
# (drobbins, 06 Jun 2003)
# (solar, Jul 2004)
@@ -55,9 +57,6 @@ v_echo() {
env "$@"
}
-cvsver="$Id$" # TODO: FIXME for Git era
-cvsver=${cvsver##*,v }
-cvsver=${cvsver%%Exp*}
file_copyright=$(sed -n '/Copyright/!b;s/^# *//;p;q' $0)
usage() {
@@ -94,7 +93,7 @@ for opt in "$@" ; do
--resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";;
--verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v" ; V_ECHO=v_echo;;
--version|-V)
- einfo "Gentoo Linux bootstrap ${cvsver}"
+ einfo "Gentoo Linux bootstrap ${file_version}"
exit 0
;;
*)