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

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

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

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

diff --git a/games-action/descent2-data/descent2-data-1.2-r1.ebuild 
b/games-action/descent2-data/descent2-data-1.2-r1.ebuild
index 8f19d07739b9..990fa4a33cab 100644
--- a/games-action/descent2-data/descent2-data-1.2-r1.ebuild
+++ b/games-action/descent2-data/descent2-data-1.2-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
@@ -72,7 +72,7 @@ src_unpack() {
        # Remainder into data
        # Exclude Vertigo files
 
-       tar c \
+       tar -c -f - \
                --mode=u+w \
                --ignore-case \
                --xform='s:.*/::xg' \
@@ -87,7 +87,7 @@ src_unpack() {
                --exclude="$(use doc || echo '*.pdf')" \
                --exclude="$(use videos || echo '*.mvl')" \
                *.{txt,pdf} *-h.mvl **/*.{ham,hog,mn2,pig,s11,s22} \
-               | tar x -C "${WORKDIR}"
+               | tar -x -f - -C "${WORKDIR}"
 
        assert "tar failed"
        eshopts_pop

Reply via email to