Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: scripts/
Date: Thu, 02 Sep 2021 11:03:22
Message-Id: 1630580328.19400683f19863f94f23592c081767797274d09b.ulm@gentoo
1 commit: 19400683f19863f94f23592c081767797274d09b
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 2 10:55:45 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 2 10:58:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19400683
7
8 scripts/bootstrap.sh: Fix version
9
10 There is no CVS $Id$ any more.
11
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 scripts/bootstrap.sh | 9 ++++-----
15 1 file changed, 4 insertions(+), 5 deletions(-)
16
17 diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
18 index 46026a79e1c..a84263ba448 100755
19 --- a/scripts/bootstrap.sh
20 +++ b/scripts/bootstrap.sh
21 @@ -1,7 +1,9 @@
22 #!/bin/bash
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 +file_version="2021.0" # update manually: <year>.<counter>
28 +
29 # people who were here:
30 # (drobbins, 06 Jun 2003)
31 # (solar, Jul 2004)
32 @@ -55,9 +57,6 @@ v_echo() {
33 env "$@"
34 }
35
36 -cvsver="$Id$" # TODO: FIXME for Git era
37 -cvsver=${cvsver##*,v }
38 -cvsver=${cvsver%%Exp*}
39 file_copyright=$(sed -n '/Copyright/!b;s/^# *//;p;q' $0)
40
41 usage() {
42 @@ -94,7 +93,7 @@ for opt in "$@" ; do
43 --resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";;
44 --verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v" ; V_ECHO=v_echo;;
45 --version|-V)
46 - einfo "Gentoo Linux bootstrap ${cvsver}"
47 + einfo "Gentoo Linux bootstrap ${file_version}"
48 exit 0
49 ;;
50 *)