dev-libs/optix: fix NonConsistentTarUsage [QA]

Issue: https://github.com/pkgcore/pkgcheck/issues/704
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-02-28 11:54:33 +02:00
parent 7c3e17e2d1
commit 11d30d52a4
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -64,7 +64,7 @@ src_unpack() {
cp "${DISTDIR}/${P}-${i}" "${S}/include/${i}" || die
done
else
tail -n +223 "${DISTDIR}"/${A} | tar -zx
tail -n +223 "${DISTDIR}"/${A} | tar -zx -f -
assert "unpacking ${A} failed"
fi
}

View File

@@ -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
@@ -64,7 +64,7 @@ src_unpack() {
cp "${DISTDIR}/${P}-${i}" "${S}/include/${i}" || die
done
else
tail -n +223 "${DISTDIR}"/${A} | tar -zx
tail -n +223 "${DISTDIR}"/${A} | tar -zx -f -
assert "unpacking ${A} failed"
fi
}