Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-config:master commit in: /
Date: Sat, 07 Sep 2019 08:22:20
Message-Id: 1567844476.dedcf28c4c922d9c724339e83896f54df59796e2.slyfox@gentoo
1 commit: dedcf28c4c922d9c724339e83896f54df59796e2
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 7 08:21:16 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 7 08:21:16 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=dedcf28c
7
8 gcc-config: avoid false-positive detection of 'sed' use
9
10 Noticed when ran 'make check':
11 * Running source/test.sed ... due to log difference; see tests/source/test.sed.log [ !! ]
12
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 gcc-config | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/gcc-config b/gcc-config
19 index 21d54c1..aefdbc4 100755
20 --- a/gcc-config
21 +++ b/gcc-config
22 @@ -28,7 +28,7 @@ has() { [[ " ${*:2} " == *" $1 "* ]]; }
23 die() { eerror "${argv0}: $*"; exit 1; }
24 umask 022
25
26 -# *BSD sed does not work as-is, use GNU sed. TODO: find details.
27 +# *BSD SED does not work as-is, use GNU SED. TODO: find details.
28 SED=$(type -P gsed)
29 : ${SED:=$(type -P sed)}