summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg')
-rw-r--r--scripts/libmakepkg/integrity/verify_signature.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/libmakepkg/integrity/verify_signature.sh.in b/scripts/libmakepkg/integrity/verify_signature.sh.in
index add7f75d..640b27f6 100644
--- a/scripts/libmakepkg/integrity/verify_signature.sh.in
+++ b/scripts/libmakepkg/integrity/verify_signature.sh.in
@@ -256,14 +256,14 @@ parse_gpg_statusfile() {
}
source_has_signatures() {
- local file all_sources proto
+ local netfile all_sources proto
get_all_sources_for_arch 'all_sources'
- for file in "${all_sources[@]}"; do
- proto="$(get_protocol "$file")"
+ for netfile in "${all_sources[@]}"; do
+ proto="$(get_protocol "$netfile")"
query=$(get_uri_query "$netfile")
- if [[ ${file%%::*} = *.@(sig?(n)|asc) || ( $proto = git* && $query = signed ) ]]; then
+ if [[ ${netfile%%::*} = *.@(sig?(n)|asc) || ( $proto = git* && $query = signed ) ]]; then
return 0
fi
done