mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-action/descent1-data: fix NonConsistentTarUsage [QA]
Issue: https://github.com/pkgcore/pkgcheck/issues/704 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user