aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rabbitmq-server/grep.patch
blob: 43d12a8e2f6b95463943d70704db2c847419aa9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/erlang.mk b/erlang.mk
index efbcf5c..65fb954 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -4991,7 +4991,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