fix shellcheck

This commit is contained in:
Dylan Araps 2020-08-13 10:35:59 +03:00
parent d6917d5fe1
commit 7cfce11abc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -741,7 +741,7 @@ pkg_checksums() {
pkg_verify() {
# Verify all package checksums. This is achieved by generating a new set
# of checksums and then comparing those with the old set.
verify_cmd='NR==FNR{a[$1];next}/^git\+.*/{next}!(($1)in a){exit 1}'
verify_cmd="NR==FNR{a[\$1];next}/^git\+.*/{next}!((\$1)in a){exit 1}"
for pkg do repo_dir=$(pkg_find "$pkg")
[ -f "$repo_dir/sources" ] || continue