diff options
author | Arsen Arsenović <arsen@gentoo.org> | 2023-04-06 17:35:11 +0200 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2023-04-06 17:42:10 +0200 |
commit | d53ec485fe53d50619a1292cccb6c66eaf16b9ac (patch) | |
tree | 2ff75b80086ebdb462011f744a14eb1482b26333 /eclass/unpacker.eclass | |
parent | dev-python/django-cacheops: Remove unnecessary dependency pins (diff) | |
download | gentoo-d53ec485fe53d50619a1292cccb6c66eaf16b9ac.tar.gz gentoo-d53ec485fe53d50619a1292cccb6c66eaf16b9ac.tar.bz2 gentoo-d53ec485fe53d50619a1292cccb6c66eaf16b9ac.zip |
unpacker.eclass: Don't assume the default tar is stdin
Despite common misconception, the default GNU tar tarfile is not stdin.
On some systems, this can cause tar to fail to extract relevant files.
See '(tar)file tutorial' for a description of how the default is picked.
Closes: https://bugs.gentoo.org/903631
Closes: https://bugs.gentoo.org/903914
Closes: https://bugs.gentoo.org/903919
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'eclass/unpacker.eclass')
-rw-r--r-- | eclass/unpacker.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 650de4bd3f75..652527b52ec6 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -325,7 +325,7 @@ unpack_deb() { $(tc-getBUILD_AR) p "${deb}" "${f}" | ${decomp:-cat} assert "unpacking ${f} from ${deb} failed" fi - } | tar --no-same-owner -x + } | tar --no-same-owner -xf - assert "unpacking ${deb} failed" } |