diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
commit | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (patch) | |
tree | c34bf820c2809fb7e08ed5564df2a25cf759516f /eclass/unpacker.eclass | |
parent | 693cc9b6e847a01c1bb692153021aaf9fb0fab25 (diff) |
gentoo resync 31.01.2019
Diffstat (limited to 'eclass/unpacker.eclass')
-rw-r--r-- | eclass/unpacker.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 41aa3ef43da7..370f0a9c59ab 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -339,6 +339,7 @@ _unpacker() { a=$(find_unpackable_file "${a}") # first figure out the decompression method + local comp="" case ${m} in *.bz2|*.tbz|*.tbz2) local bzcmd=${PORTAGE_BZIP2_COMMAND:-$(type -P pbzip2 || type -P bzip2)} @@ -353,11 +354,10 @@ _unpacker() { *.lz) : ${UNPACKER_LZIP:=$(type -P plzip || type -P pdlzip || type -P lzip)} comp="${UNPACKER_LZIP} -dc" ;; - *) comp="" ;; esac # then figure out if there are any archiving aspects - arch="" + local arch="" case ${m} in *.tgz|*.tbz|*.tbz2|*.txz|*.tar.*|*.tar) arch="tar --no-same-owner -xof" ;; |