commit:     8fc596ca886b7c6fdcaee20a458c24e2f1d9c4c6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 09:58:33 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 10:00:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc596ca

games-rpg/comi: fix NonConsistentTarUsage [QA]

Issue: https://github.com/pkgcore/pkgcheck/issues/704
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-rpg/comi/comi-1-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-rpg/comi/comi-1-r1.ebuild b/games-rpg/comi/comi-1-r1.ebuild
index bd971f07ce5d..a50addf24a8a 100644
--- a/games-rpg/comi/comi-1-r1.ebuild
+++ b/games-rpg/comi/comi-1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,7 @@ dotar() {
        # Remainder into data
        # Avoid copying files twice
 
-       tar c \
+       tar -c -f - \
                --mode=u+w \
                --ignore-case \
                --xform='s:^[^a-z]+$:\L\0:x' \
@@ -36,7 +36,7 @@ dotar() {
                --exclude="$(use doc || echo '*.pdf')" \
                --exclude-from=<(find "${WORKDIR}"/data -type f -printf "%P\n" 
2>/dev/null) \
                *.{txt,pdf} *.la[0-9] resource*/ \
-               | tar x -C "${WORKDIR}"
+               | tar -x -f - -C "${WORKDIR}"
 
        assert "tar failed"
        eshopts_pop

Reply via email to