From f824b82361fc9ec4a1a020b63df7b762a686aba0 Mon Sep 17 00:00:00 2001
From: Austin English <[email protected]>
Date: Mon, 27 Jun 2016 16:57:36 -0500
Subject: [PATCH 1/2] eclass/toolchain-funcs: avoid backticks

Signed-off-by: Austin English <[email protected]>
---
 eclass/toolchain-funcs.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 2af9b02..fb8b2f9 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -612,7 +612,7 @@ tc-is-clang() {
 # compilers rather than maintaining a --version flag matrix. #335943
 _gcc_fullversion() {
        local ver="$1"; shift
-       set -- `$(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__
__GNUC_PATCHLEVEL__"`
+       set -- $($(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__
__GNUC_PATCHLEVEL__")
        eval echo "$ver"
 }

-- 
2.7.3


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to