commit:     d85e33db395fe970ddbac6898737753fd1dae94d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 09:57: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=d85e33db

games-action/descent1-data: fix NonConsistentTarUsage [QA]

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

 games-action/descent1-data/descent1-data-1.4a-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-action/descent1-data/descent1-data-1.4a-r1.ebuild 
b/games-action/descent1-data/descent1-data-1.4a-r1.ebuild
index ea0e2146a883..89af92d107d0 100644
--- a/games-action/descent1-data/descent1-data-1.4a-r1.ebuild
+++ b/games-action/descent1-data/descent1-data-1.4a-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
@@ -57,7 +57,7 @@ src_unpack() {
        # Documentation into doc
        # Remainder into data
 
-       tar c \
+       tar -c -f - \
                --mode=u+w \
                --ignore-case \
                --xform='s:.*/::xg' \
@@ -68,7 +68,7 @@ src_unpack() {
                --xform='s:^[^/]+$:data/\0:x' \
                --exclude="$(use doc || echo '*.pdf')" \
                *.{faq,txt,pdf} **/*.{dem,hog,msn,pig} \
-               | tar x -C "${WORKDIR}"
+               | tar -x -f - -C "${WORKDIR}"
 
        assert "tar failed"
        eshopts_pop

Reply via email to