commit:     2c5a6b202e4731aaed31475fbfdcb032a2cdf3b2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 09:58:01 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=2c5a6b20

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

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

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

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild 
b/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
index 3c88671110c4..203ef25b3f43 100644
--- a/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0-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
@@ -30,7 +30,7 @@ src_unpack() {
        # *.{hog,mn2} into data/missions
        # Remainder into data
 
-       tar c \
+       tar -c -f - \
                --mode=u+w \
                --ignore-case \
                --xform='s:.*/::xg' \
@@ -39,7 +39,7 @@ src_unpack() {
                --xform='s:^[^/]+$:data/\0:x' \
                --exclude="$(use videos || echo '*.mvl')" \
                **/{hoard.ham,d2x-h.mvl,{d2x,panic}.{hog,mn2}}* \
-               | tar x -C "${WORKDIR}"
+               | tar -x -f - -C "${WORKDIR}"
 
        assert "tar failed"
        eshopts_pop

Reply via email to