This commit is contained in:
Adrien Ferrand 2020-07-09 22:53:47 +02:00
parent 9eeb0f1f2a
commit 410c0cd1b4
2 changed files with 3 additions and 1 deletions

View file

@ -67,6 +67,7 @@ jobs:
- script: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends snapd
sudo snap install --classic snapcraft
displayName: Install dependencies
- task: DownloadSecureFile@1
name: snapcraftCfg
@ -92,6 +93,7 @@ jobs:
- script: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends snapd
sudo snap install --classic snapcraft
displayName: Install dependencies
- task: DownloadSecureFile@1
name: snapcraftCfg

View file

@ -18,7 +18,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
CERTBOT_DIR="$(dirname "$(dirname "${DIR}")")"
if [[ "${DNS_PLUGINS}" = "ALL" ]]; then
DNS_PLUGINS=$(find . -maxdepth 1 -type d -name "${CERTBOT_DIR}/certbot-dns-*" -exec basename {} \; | paste -sd "," -)
DNS_PLUGINS=$(find ${CERTBOT_DIR} -maxdepth 1 -type d -name "certbot-dns-*" -exec basename {} \; | paste -sd "," -)
fi
trap popd EXIT