From a170491024812a1b4727e3945926263684a4416f Mon Sep 17 00:00:00 2001 From: bcsanford Date: Thu, 14 Jan 2021 22:50:14 -0500 Subject: [PATCH] Update acme.sh Allow _hookcat aka _SUB_FOLDER_DNSAPI to be defined using FullPath --- acme.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index e78744c9..9829a2db 100755 --- a/acme.sh +++ b/acme.sh @@ -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" }