aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 18:09:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 18:09:43 +0000
commit26a0b9d3a1f3994cf8e6a41d1b6a275c844ed26d (patch)
tree9151002e82c95a9f748be7752345565516beef80 /kiss
parent5eaf24755283c8c1c21f19743bb3e74760615662 (diff)
downloadcpt-26a0b9d3a1f3994cf8e6a41d1b6a275c844ed26d.tar.gz
misc: clean up
FossilOrigin-Name: 9b42295bd9c10925b9088d0f526270052f68c913421b6497321f6719dd534011
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss9
1 files changed, 3 insertions, 6 deletions
diff --git a/kiss b/kiss
index fb6cfe9..07d2c3b 100755
--- a/kiss
+++ b/kiss
@@ -108,7 +108,7 @@ pkg_list() {
}
[ -f "$pkg/version" ] || {
- log "Warning: Package '$pkg' has no version file"
+ log "[$pkg] Warning, package has no version file"
continue
}
@@ -153,10 +153,9 @@ pkg_sources() {
}
;;
- # Local files (Any source that is non-remote is assumed to be local).
+ # Local files (sources that are non-remote are assumed to be local).
*)
- [ -f "$repo_dir/$src" ] ||
- die "[$1] No local file '$src'"
+ [ -f "$repo_dir/$src" ] || die "[$1] No local file '$src'"
log "[$1] Found local file '$src'"
;;
@@ -387,8 +386,6 @@ pkg_manifest() (
# directories appearing *after* their contents.
find . -mindepth 1 -type d -exec printf '%s/\n' {} + -or -print |
sort -r | sed -e ss.ss > "$pkg_dir/$1/$pkg_db/$1/manifest"
-
- log "[$1] Generated manifest"
)
pkg_tar() {