diff options
author | Loïc Hoguin <[email protected]> | 2016-03-19 11:15:49 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-03-19 11:15:49 +0100 |
commit | 6e5ff123aeb78e8bbb5092b83577ffdfb5feb9b3 (patch) | |
tree | 2c4a70697e45227e5624fe5f623974a2307d501b | |
parent | cba40ae35bd3d63eaffde194b48f380bfc91f379 (diff) | |
parent | 550a91a6b0ce45286bc5c5f3c45d379ccff9c32d (diff) | |
download | erlang.mk-6e5ff123aeb78e8bbb5092b83577ffdfb5feb9b3.tar.gz erlang.mk-6e5ff123aeb78e8bbb5092b83577ffdfb5feb9b3.tar.bz2 erlang.mk-6e5ff123aeb78e8bbb5092b83577ffdfb5feb9b3.zip |
Merge branch 'fix_grep' of https://github.com/ingwinlu/erlang.mk
-rw-r--r-- | core/erlc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 2297047..dc98bb3 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -244,7 +244,7 @@ ifeq ($(wildcard src/$(PROJECT).app.src),) $(app_verbose) printf "$(subst $(newline),\n,$(subst ",\",$(call app_file,$(GITDESCRIBE),$(MODULES))))" \ > ebin/$(PROJECT).app else - $(verbose) if [ -z "$$(grep -E '^[^%]*{\s*modules\s*,' src/$(PROJECT).app.src)" ]; then \ + $(verbose) if [ -z "$$(grep -e '^[^%]*{\s*modules\s*,' 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 |