aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-08-15 18:52:58 +0200
committerLoïc Hoguin <[email protected]>2014-08-15 18:52:58 +0200
commitcabccd81400c635e5629b802df3b65a3df68b846 (patch)
treef41869f54bf87047225e2916d8292cba1dcbed3a
parent7812f5eacc2d861d5b6040e832389bfe73cf8d8d (diff)
parent813f6c71aa9fa68996a7be9a15924cb4721fe365 (diff)
downloaderlang.mk-cabccd81400c635e5629b802df3b65a3df68b846.tar.gz
erlang.mk-cabccd81400c635e5629b802df3b65a3df68b846.tar.bz2
erlang.mk-cabccd81400c635e5629b802df3b65a3df68b846.zip
Merge branch 'igaray.modules_regex' of git://github.com/igaray/erlang.mk
-rw-r--r--core/erlc.mk2
-rw-r--r--erlang.mk2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/erlang.mk b/erlang.mk
index aac075e..0cea78a 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -204,7 +204,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