forked from kiss-community/kiss
kiss: use continue
This commit is contained in:
parent
73caec34b4
commit
8261c230fc
4
kiss
4
kiss
@ -671,7 +671,7 @@ pkg_checksums() {
|
||||
while read -r src _ || [ "$src" ]; do
|
||||
# Skip comments, blank lines and git sources.
|
||||
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then
|
||||
:
|
||||
continue
|
||||
|
||||
# Remote source.
|
||||
elif [ -z "${src##*://*}" ]; then
|
||||
@ -679,7 +679,7 @@ pkg_checksums() {
|
||||
|
||||
# Skip directories.
|
||||
elif [ -d "$repo_dir/$src" ] || [ -d "/$src" ]; then
|
||||
:
|
||||
continue
|
||||
|
||||
# Local file (relative).
|
||||
elif [ -f "$repo_dir/$src" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user