Update acme.sh

Allow _hookcat aka _SUB_FOLDER_DNSAPI to be defined using FullPath
This commit is contained in:
bcsanford 2021-01-14 22:50:14 -05:00 committed by GitHub
parent b7a3fe05a4
commit a170491024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/usr/bin/env sh
VER=2.8.9
VER=2.8.9.1
PROJECT_NAME="acme.sh"
@ -3791,8 +3791,11 @@ _findHook() {
d_api="$LE_WORKING_DIR/$_hookcat/$_hookname"
elif [ -f "$LE_WORKING_DIR/$_hookcat/$_hookname.sh" ]; then
d_api="$LE_WORKING_DIR/$_hookcat/$_hookname.sh"
elif [ -f "$_hookcat/$_hookname.sh" ]; then
d_api="$_hookcat/$_hookname.sh"
fi
printf "%s" "$d_api"
}