Skip to content

Commit

Permalink
Merge pull request #3447 from esl/certs
Browse files Browse the repository at this point in the history
Fix automatic certs rebuild
  • Loading branch information
arcusfelis authored Dec 13, 2021
2 parents 394ec28 + ddb0a04 commit 8126d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $(DEVNODES): certs configure.out rel/vars-toml.config
DEVNODE=true $(RUN) $(REBAR) as $@ release)

maybe_clean_certs:
if [ "$$SKIP_CERT_BUILD" = 1 ]; then \
if [ "$$SKIP_CERT_BUILD" != 1 ]; then \
if ! openssl x509 -checkend 3600 -noout -in tools/ssl/ca/cacert.pem ; then \
cd tools/ssl && make clean_certs; \
fi \
Expand All @@ -71,7 +71,7 @@ maybe_clean_certs:
certs: maybe_clean_certs
if [ "$$SKIP_CERT_BUILD" = 1 ]; then \
echo "Skip cert build"; \
else \
else \
cd tools/ssl && make; \
fi

Expand Down

0 comments on commit 8126d5d

Please sign in to comment.