diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-18 19:31:52 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-18 19:31:52 +0000 |
commit | c953bedff4ab30dec92b13dff37caed4accd48e2 (patch) | |
tree | be7448419f78caf686c6b315fcc602ecbd9ffaa9 /kiss | |
parent | 0c817867f914de3ea5ab51de21f2637b7c965a2a (diff) | |
download | cpt-c953bedff4ab30dec92b13dff37caed4accd48e2.tar.gz |
kiss: sources comment support
FossilOrigin-Name: 85d9b06bc785620a005994b65497435e40617285d84c41f3c0a2749813550819
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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. |