summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/certs/cert-check3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/certs/cert-check b/scripts/certs/cert-check
index 4bf9fc5..f1774c0 100755
--- a/scripts/certs/cert-check
+++ b/scripts/certs/cert-check
@@ -37,12 +37,13 @@ vercmd2cmd() {
}
guess_cmd() {
- echo "YYYYYYY $1" >>/tmp/test
case "$(basename "$1")" in
crl*|revoke*|*crl) echo "crl";;
*crt|*) echo "x509";;
esac
}
+# export because it is used in a separate bash invocation
+export -f guess_cmd
cert_pick_file() {
[[ "$1" =~ .*://.* ]] && return 1