aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 05:10:46 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 05:10:46 +0000
commitd95701671e488df0f8b220fad7c6ab2d746d8b8a (patch)
tree5b010fe9be156b3d86bc056ec257064681657dfc /kiss
parentcd642f860b778a39ef5770fe00e5d6e503b62300 (diff)
downloadcpt-d95701671e488df0f8b220fad7c6ab2d746d8b8a.tar.gz
kiss: clean up
FossilOrigin-Name: c753dd0afdb232573c606563b249da264e1d7bce5c7faa84007488471769b77d
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiss b/kiss
index 8d0a093..5ff1390 100755
--- a/kiss
+++ b/kiss
@@ -132,7 +132,7 @@ pkg_sources() {
}
;;
- # Local files (sources that are non-remote are assumed to be local).
+ # Local source.
*)
[ -f "$repo_dir/$src" ] || die "[$1] No local file '$src'"
@@ -158,10 +158,10 @@ pkg_extract() {
# allows you to extract them manually.
*://*.tar*|*://*.tgz)
tar xf "$src_dir/$1/${src##*/}" --strip-components 1 \
- || die "[$1] Couldn't extract ${src##*/}"
+ || die "[$1] Couldn't extract ${src##*/}"
;;
- # Local files (Any non-remote source is assumed to be local).
+ # Local source.
*)
if [ -f "$repo_dir/$src" ]; then
cp -f "$repo_dir/$src" .