cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit bb89abf68bf7c19ce35b7811f8ad8b3bb15b27d6
parent eee299c45e30bd1f9c91b2acf71dcb37a8ced57e
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat,  2 May 2020 03:16:01 +0300

kiss: use preferred tar on decompression

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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##*/}" ;;