diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 05:10:46 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 05:10:46 +0000 |
commit | d95701671e488df0f8b220fad7c6ab2d746d8b8a (patch) | |
tree | 5b010fe9be156b3d86bc056ec257064681657dfc | |
parent | cd642f860b778a39ef5770fe00e5d6e503b62300 (diff) | |
download | cpt-d95701671e488df0f8b220fad7c6ab2d746d8b8a.tar.gz |
kiss: clean up
FossilOrigin-Name: c753dd0afdb232573c606563b249da264e1d7bce5c7faa84007488471769b77d
-rwxr-xr-x | kiss | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" . |