From 26a0b9d3a1f3994cf8e6a41d1b6a275c844ed26d Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Mon, 19 Aug 2019 18:09:43 +0000 Subject: misc: clean up FossilOrigin-Name: 9b42295bd9c10925b9088d0f526270052f68c913421b6497321f6719dd534011 --- kiss | 9 +++------ 1 file 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() { -- cgit v1.2.3