Allow DNSAPI Folder to be defined using FullPath

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

View File

@ -3791,6 +3791,8 @@ _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"