commit 1b4196c4e1276a62bd15e579f18b70dd224bdbc7
parent 83a1f8ca17b74c20769697cd2bac4112939bb31a
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 18 Feb 2020 21:31:53 +0200
kiss: sources comment support
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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.