only make .env if dir exists

This commit is contained in:
2026-07-05 23:01:56 +01:00
parent d51d1a1266
commit 56393380b9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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