Gentoo Archives: gentoo-dev

From: Austin English <wizardedit@g.o>
To: toolchain@g.o
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH 1/2] eclass/toolchain-funcs: avoid backticks
Date: Mon, 27 Jun 2016 22:07:25
Message-Id: 5771A37A.8000608@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] eclass/toolchain-funcs: avoid backticks by Austin English
1 On 06/27/2016 05:04 PM, Austin English wrote:
2 > From f824b82361fc9ec4a1a020b63df7b762a686aba0 Mon Sep 17 00:00:00 2001
3 > From: Austin English <wizardedit@g.o>
4 > Date: Mon, 27 Jun 2016 16:57:36 -0500
5 > Subject: [PATCH 1/2] eclass/toolchain-funcs: avoid backticks
6 >
7 > Signed-off-by: Austin English <wizardedit@g.o>
8 > ---
9 > eclass/toolchain-funcs.eclass | 2 +-
10 > 1 file changed, 1 insertion(+), 1 deletion(-)
11 >
12 > diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
13 > index 2af9b02..fb8b2f9 100644
14 > --- a/eclass/toolchain-funcs.eclass
15 > +++ b/eclass/toolchain-funcs.eclass
16 > @@ -612,7 +612,7 @@ tc-is-clang() {
17 > # compilers rather than maintaining a --version flag matrix. #335943
18 > _gcc_fullversion() {
19 > local ver="$1"; shift
20 > - set -- `$(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__
21 > __GNUC_PATCHLEVEL__"`
22 > + set -- $($(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__
23 > __GNUC_PATCHLEVEL__")
24 > eval echo "$ver"
25 > }
26
27 Wrong t@g.o, sorry about that tinderbox@.

Attachments

File name MIME type
signature.asc application/pgp-signature