diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-07 03:03:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-07 03:03:27 +0000 |
commit | abe17cf152eeb7571da8db4b25a30465644a41ba (patch) | |
tree | 33e648f624199affa607b84e65868f73d25281e6 /eclass/toolchain.eclass | |
parent | 2ceda67569b0a59d190a0f6afe73c18336b54268 (diff) |
gentoo auto-resync : 07:11:2024 - 03:03:27
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index aa7134b23e8e..b25c5dcf0929 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2980,10 +2980,10 @@ toolchain_death_notice() { for dir in "${WORKDIR}"/build-jit "${WORKDIR}"/build ; do if [[ -e "${dir}" ]] ; then pushd "${WORKDIR}" >/dev/null - (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > gccinfo.log - [[ -e "${T}"/build.log ]] && cp "${T}"/build.log . + (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > "${dir}"/gccinfo.log + [[ -e "${T}"/build.log ]] && cp "${T}"/build.log "${dir}" tar -arf "${WORKDIR}"/gcc-build-logs.tar.xz \ - "${dir}"/gccinfo.log "${dir}"/build.log $(find -name "${dir}"/config.log) + "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find -name "${dir}"/config.log) rm "${dir}"/gccinfo.log "${dir}"/build.log eerror eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report." |