commit: 45503276b0e4233ad03dcf303fad2dc146862093
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 22:59:01 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 22:59:01 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=45503276
gen_determineargs.sh: determine_real_args(): Don't quote tc-getBUILD_CC()
return value
This will allow user to set UTILS_CC="distcc gcc" for example.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_determineargs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 82ce4ed..f3cfedf 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -490,7 +490,7 @@ determine_real_args() {
# set CBUILD and CHOST
local build_cc=$(tc-getBUILD_CC)
- CBUILD=$("${build_cc}" -dumpmachine 2>/dev/null)
+ CBUILD=$(${build_cc} -dumpmachine 2>/dev/null)
if [ -z "${CBUILD}" ]
then
gen_die "Failed to determine CBUILD using '${build_cc}
-dumpmachine' command!"