commit:     ecac3d9a0252fcdb5f8f24ed1979098cc28e14c2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 09:59:01 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 10:00:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecac3d9a

games-strategy/settlers-2-gold-data: fix NonConsistentTarUsage [QA]

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

 games-strategy/settlers-2-gold-data/settlers-2-gold-data-0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-strategy/settlers-2-gold-data/settlers-2-gold-data-0.ebuild 
b/games-strategy/settlers-2-gold-data/settlers-2-gold-data-0.ebuild
index dc17a23f065a..9f4e38c59670 100644
--- a/games-strategy/settlers-2-gold-data/settlers-2-gold-data-0.ebuild
+++ b/games-strategy/settlers-2-gold-data/settlers-2-gold-data-0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -43,13 +43,13 @@ dotar() {
        # Avoid copying files twice
        # Don't include *.ENG or *.GER files as they are unused by RTTR
 
-       tar c \
+       tar -c -f - \
                --mode=u+w \
                --ignore-case \
                --xform='s:.*:\U\0:x' \
                --exclude-from=<(find "${S}"/ -type f -printf "%P\n" 
2>/dev/null) \
                {DATA,GFX}/**/*.{BBM,BOB,DAT,FNT,IDX,LBM,LST,RTX,WLD} \
-               | tar x -C "${S}"
+               | tar -x -f - -C "${S}"
 
        assert "tar failed"
        eshopts_pop

Reply via email to