diff options
Diffstat (limited to 'scripts/certs/cert-check')
-rwxr-xr-x | scripts/certs/cert-check | 3 |
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 |