Browse Source

Allow DNSAPI Folder to be defined using FullPath

Allow _hookcat aka _SUB_FOLDER_DNSAPI to be defined using FullPath
pull/3364/head
bcsanford 4 years ago
committed by GitHub
parent
commit
b03556b524
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      acme.sh

2
acme.sh

@ -3791,6 +3791,8 @@ _findHook() {
d_api="$LE_WORKING_DIR/$_hookcat/$_hookname" d_api="$LE_WORKING_DIR/$_hookcat/$_hookname"
elif [ -f "$LE_WORKING_DIR/$_hookcat/$_hookname.sh" ]; then elif [ -f "$LE_WORKING_DIR/$_hookcat/$_hookname.sh" ]; then
d_api="$LE_WORKING_DIR/$_hookcat/$_hookname.sh" d_api="$LE_WORKING_DIR/$_hookcat/$_hookname.sh"
elif [ -f "$_hookcat/$_hookname.sh" ]; then
d_api="$_hookcat/$_hookname.sh"
fi fi
printf "%s" "$d_api" printf "%s" "$d_api"

Loading…
Cancel
Save