kiss: Fix typos
This commit is contained in:
parent
8cab612d2f
commit
104c54b10a
4
kiss
4
kiss
|
@ -402,7 +402,7 @@ pkg_extract() {
|
||||||
"$tar" xf .ktar ||
|
"$tar" xf .ktar ||
|
||||||
die "$1" "Couldn't extract ${src##*/}"
|
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,
|
# Some tarballs contain './' as the top-level directory,
|
||||||
# we need to skip these occurances.
|
# we need to skip these occurances.
|
||||||
[ -d "${dir#.}" ] || continue
|
[ -d "${dir#.}" ] || continue
|
||||||
|
@ -416,7 +416,7 @@ pkg_extract() {
|
||||||
|
|
||||||
# Remove the directory now that all files have been
|
# Remove the directory now that all files have been
|
||||||
# transferred out of it. This can't be a simple 'rmdir'
|
# 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"
|
rm -rf "$dir"
|
||||||
done 2>/dev/null
|
done 2>/dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue