commit: e73ff12ad96fd7ea5cb80561dae6418dbe855096 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Sep 29 23:01:08 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Sep 29 23:01:08 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e73ff12a
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 <AT> gentoo.org> gen_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_funcs.sh b/gen_funcs.sh index 9e7d573..2fe88fb 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!"