Browse Source

Update acme.sh

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

5
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"
}

Loading…
Cancel
Save