aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-09-30 01:01:08 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-09-30 01:01:08 +0200
commite73ff12ad96fd7ea5cb80561dae6418dbe855096 (patch)
tree246600b9783a8ebc4ae19976d312af7afbc82281 /gen_funcs.sh
parentgen_determineargs.sh: determine_real_args(): Don't quote tc-getBUILD_CC() ret... (diff)
downloadgenkernel-e73ff12ad96fd7ea5cb80561dae6418dbe855096.tar.gz
genkernel-e73ff12ad96fd7ea5cb80561dae6418dbe855096.tar.bz2
genkernel-e73ff12ad96fd7ea5cb80561dae6418dbe855096.zip
gen_funcs.sh: get_chost_libdir(): Don't quote tc-getCC() return value
This will allow user to set UTILS_CC="distcc gcc" for example. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_funcs.sh')
-rwxr-xr-xgen_funcs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_funcs.sh b/gen_funcs.sh
index 9e7d5734..2fe88fb6 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -792,7 +792,7 @@ debug_breakpoint() {
get_chost_libdir() {
local cc=$(tc-getCC)
- local test_file=$("${cc}" -print-file-name=libnss_files.so 2>/dev/null)
+ local test_file=$(${cc} -print-file-name=libnss_files.so 2>/dev/null)
if [ -z "${test_file}" ]
then
gen_die "$(get_useful_function_stack "${FUNCNAME}")Unable to determine CHOST's libdir: '${cc} -print-file-name=libnss_files.so' returned nothing!"