aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-02 00:16:01 +0000
committermerakor <cem@ckyln.com>2020-05-02 00:16:01 +0000
commitba0abf9ecee69d908070fff2ecf9d0329b4e95ba (patch)
treee299524551807a84ff46d7a11724244a17a670e7
parentfd3be2c1f23527d383f50169e9bc77b43b71cea3 (diff)
downloadcpt-ba0abf9ecee69d908070fff2ecf9d0329b4e95ba.tar.gz
kiss: use preferred tar on decompression
FossilOrigin-Name: 40d85cca7d121b101967f090c3b866001541f74fdeb1874edb49b408d23ff11f
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 427914c..379a1fa 100755
--- a/kiss
+++ b/kiss
@@ -297,8 +297,8 @@ pkg_extract() {
# extraction. Other filetypes are simply copied to '$mak_dir'
# which allows for manual extraction.
*://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz)
- decompress "$src_dir/$1/${src##*/}" |
- tar xf - --strip-components 1 ||
+ decompress "$src_dir/$1/${src##*/}" |
+ "$tar" xf - --strip-components 1 ||
die "$1" "Couldn't extract ${src##*/}"
;;