mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
acme_extract -> acme_extract.py + F_BIN to avoid .py
This commit is contained in:
parent
3be5879fcf
commit
1ab8ea96b2
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ VCS_VER = $(shell git describe --tags --contains --always)
|
|||
all: lint build backup generate-accounts tests clean
|
||||
|
||||
build:
|
||||
docker build --force-rm -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF)
|
||||
docker build -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF)
|
||||
|
||||
backup:
|
||||
# if backup directories exist, clean hasn't been called, therefore
|
||||
|
|
0
target/bin/print-environment
Normal file → Executable file
0
target/bin/print-environment
Normal file → Executable file
0
target/bin/setup
Normal file → Executable file
0
target/bin/setup
Normal file → Executable file
|
@ -418,8 +418,8 @@ function _extract_certs_from_acme
|
|||
fi
|
||||
|
||||
local KEY CERT
|
||||
KEY=$(acme_extract /etc/letsencrypt/acme.json "${CERT_DOMAIN}" --key)
|
||||
CERT=$(acme_extract /etc/letsencrypt/acme.json "${CERT_DOMAIN}" --cert)
|
||||
KEY=$(acme_extract.py /etc/letsencrypt/acme.json "${CERT_DOMAIN}" --key)
|
||||
CERT=$(acme_extract.py /etc/letsencrypt/acme.json "${CERT_DOMAIN}" --cert)
|
||||
|
||||
if [[ -z ${KEY} ]] || [[ -z ${CERT} ]]
|
||||
then
|
||||
|
|
|
@ -99,7 +99,7 @@ function _shellcheck
|
|||
-not -path './target/docker-configomat/*'
|
||||
)"
|
||||
# shellcheck disable=SC2248
|
||||
F_BIN="$(grep -l /bin/bash target/bin/*)"
|
||||
F_BIN="$(find 'target/bin' -type f -not -name '*.py')"
|
||||
F_BATS="$(find 'test' -maxdepth 1 -type f -iname '*.bats')"
|
||||
|
||||
# This command is a bit easier to grok as multi-line.
|
||||
|
|
Loading…
Reference in a new issue