mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
toolchain.eclass: fix finding config.logs in death hooks
Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3160,7 +3160,7 @@ toolchain_death_notice() {
|
||||
(echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > "${dir}"/gccinfo.log
|
||||
[[ -e "${T}"/build.log ]] && cp "${T}"/build.log "${dir}"
|
||||
tar -rf "${WORKDIR}"/gcc-build-logs.tar \
|
||||
"${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find -name "${dir#${WORKDIR}/}"/config.log)
|
||||
"${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find "${dir#${WORKDIR}/}" -type f -name "config.log")
|
||||
rm "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log
|
||||
eerror
|
||||
eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report."
|
||||
|
||||
Reference in New Issue
Block a user