From 813f6c71aa9fa68996a7be9a15924cb4721fe365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Garay?= Date: Fri, 15 Aug 2014 13:19:05 -0300 Subject: Allow explicitly listed modules --- core/erlc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/erlc.mk b/core/erlc.mk index 1225eb8..8976e7e 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -26,7 +26,7 @@ xyrl_verbose = $(xyrl_verbose_$(V)) app:: ebin/$(PROJECT).app $(eval MODULES := $(shell find ebin -type f -name \*.beam \ | sed "s/ebin\//'/;s/\.beam/',/" | sed '$$s/.$$//')) - @if [ -z "$$(grep -E '^[^%]*{modules,[[:space:]]*\[\]}' src/$(PROJECT).app.src)" ]; then \ + @if [ -z "$$(grep -E '^[^%]*{modules,' src/$(PROJECT).app.src)" ]; then \ echo "Empty modules entry not found in $(PROJECT).app.src. Please consult the erlang.mk README for instructions." >&2; \ exit 1; \ fi -- cgit v1.2.3