From 56393380b9054600c80e9cb3db88ba69feff511b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 5 Jul 2026 23:01:56 +0100 Subject: only make .env if dir exists --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8da5087..c996e09 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ endef all: $(ENV_RULES) $(MAKE_RULES) $(BUILD_RULES) $(PUSH_RULES) $(foreach module,$(ALL_MODULES),$(eval $(call make_module_rule))) -$(foreach module,$(ALL_MODULES),$(eval $(call module_env_rule))) +$(foreach module,$(ALL_MODULES),$(if $(shell test -d $(module) && echo 1),$(eval $(call module_env_rule)))) .PHONY: install install: install_nginx $(ENV_RULES) $(INSTALL_RULES) install_crontab -- cgit v1.2.3