Skip to content

Commit

Permalink
Fix automatic certs rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 12, 2021
1 parent 394ec28 commit ddb0a04
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 ddb0a04

Please sign in to comment.