]>
Commit | Line | Data |
---|---|---|
39a1c956 SI |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | # functions already in src/proxmox-acme | |
6 | PRESENT=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \ | |
7 | src/proxmox-acme | sed -r 's/\|$//') | |
8 | # functions defined in all plugins | |
9 | LOCAL=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \ | |
10 | src/acme.sh/dnsapi/dns*.sh | sed -r 's/\|$//') | |
11 | ||
12 | grep -E '\b_[a-zA-Z0-9_-]+ ' src/acme.sh/dnsapi/dns_*sh | \ | |
13 | grep -Ev "$PRESENT|$LOCAL|\b_[a-zA-Z0-9_-]+=|^src/acme.sh/dnsapi/.*sh: *#" |