scripts/bootstrap.sh: Fix version

There is no CVS $Id$ any more.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller 2021-09-02 12:55:45 +02:00
parent 9a5672672c
commit 19400683f1
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
1 changed files with 4 additions and 5 deletions

View File

@ -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
;;
*)