From c953bedff4ab30dec92b13dff37caed4accd48e2 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 18 Feb 2020 19:31:52 +0000 Subject: kiss: sources comment support FossilOrigin-Name: 85d9b06bc785620a005994b65497435e40617285d84c41f3c0a2749813550819 --- kiss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index bbc42b4..4714a88 100755 --- a/kiss +++ b/kiss @@ -660,8 +660,12 @@ pkg_checksums() { repo_dir=$(pkg_find "$1") while read -r src _ || [ "$src" ]; do + # Comment. + if [ -z "${src##\#*}" ]; then + continue + # File is local to the package. - if [ -f "$repo_dir/$src" ]; then + elif [ -f "$repo_dir/$src" ]; then src_path=$repo_dir/${src%/*} # File is remote and was downloaded. -- cgit v1.2.3