From 104c54b10add4d68b0b4ed7ba7f90fcb0caf0b71 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 8 May 2020 22:19:06 +0300 Subject: [PATCH] kiss: Fix typos --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 88dd622..e94ee94 100755 --- a/kiss +++ b/kiss @@ -402,7 +402,7 @@ pkg_extract() { "$tar" xf .ktar || die "$1" "Couldn't extract ${src##*/}" - tar tf .ktar | while read -r dir; do dir=${dir%/*} + "$tar" tf .ktar | while read -r dir; do dir=${dir%/*} # Some tarballs contain './' as the top-level directory, # we need to skip these occurances. [ -d "${dir#.}" ] || continue @@ -416,7 +416,7 @@ pkg_extract() { # Remove the directory now that all files have been # transferred out of it. This can't be a simple 'rmdir' - # as we may leave files in here due above. + # as we may leave files in here due to above. rm -rf "$dir" done 2>/dev/null