X-Git-Url: https://git.proxmox.com/?p=proxmox-acme.git;a=blobdiff_plain;f=check-missing-functions;fp=check-missing-functions;h=0000000000000000000000000000000000000000;hp=a76aefce46c94f319214d005d4bb1c983bfffc0b;hb=9ba73e66c09179b4a37fb1ce3b9513c30ef7df37;hpb=39a1c95666a075470db3cba2503d48659cfec772 diff --git a/check-missing-functions b/check-missing-functions deleted file mode 100755 index a76aefc..0000000 --- a/check-missing-functions +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -# functions already in src/proxmox-acme -PRESENT=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \ - src/proxmox-acme | sed -r 's/\|$//') -# functions defined in all plugins -LOCAL=$(awk 'BEGIN{ORS="|";} /^_/{ gsub(/\(\) {/, ""); print $0}' \ - src/acme.sh/dnsapi/dns*.sh | sed -r 's/\|$//') - -grep -E '\b_[a-zA-Z0-9_-]+ ' src/acme.sh/dnsapi/dns_*sh | \ - grep -Ev "$PRESENT|$LOCAL|\b_[a-zA-Z0-9_-]+=|^src/acme.sh/dnsapi/.*sh: *#"