mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-04-28 12:16:51 +00:00
check-missing-functions: avoid some more false-positives with negative-lookbehing
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9ba73e66c0
commit
cdeee69003
@ -10,5 +10,5 @@ PRESENT=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \
|
||||
LOCAL=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \
|
||||
../acme.sh/dnsapi/dns*.sh | sed -r 's/\|$//')
|
||||
|
||||
grep -P '\b_[a-zA-Z0-9_-]+ ' ../acme.sh/dnsapi/dns_*sh | \
|
||||
grep -P '(?<!["$])\b_[a-zA-Z0-9_-]+ ' ../acme.sh/dnsapi/dns_*sh | \
|
||||
grep -Ev "$PRESENT|$LOCAL|\b_[a-zA-Z0-9_-]+=|^../acme.sh/dnsapi/.*sh: *#"
|
||||
|
Loading…
Reference in New Issue
Block a user