commit:     5f69535668852a6c83b03d1e09f0a23f6d645a29
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 23:43:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 23:51:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f695356

toolchain.eclass: drop redundant 'a' flag from tar invocation

.. for death hooks. We're not compressing yet, hence we certainly
don't need autodetection of compression based on suffix...

Bug: https://bugs.gentoo.org/948045
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3f6fd1cfd821..18e5619b10c2 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -3159,7 +3159,7 @@ toolchain_death_notice() {
                        pushd "${WORKDIR}" >/dev/null
                        (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 \
+                       tar -rf "${WORKDIR}"/gcc-build-logs.tar \
                                "${dir#${WORKDIR}/}"/gccinfo.log 
"${dir#${WORKDIR}/}"/build.log $(find -name "${dir#${WORKDIR}/}"/config.log)
                        rm "${dir#${WORKDIR}/}"/gccinfo.log 
"${dir#${WORKDIR}/}"/build.log
                        eerror

Reply via email to