commit:     19400683f19863f94f23592c081767797274d09b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  2 10:55:45 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Sep  2 10:58:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19400683

scripts/bootstrap.sh: Fix version

There is no CVS $Id$ any more.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 scripts/bootstrap.sh | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 46026a79e1c..a84263ba448 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
                        ;;
                *)

Reply via email to