aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rabbitmq-server/grep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rabbitmq-server/grep.patch')
-rw-r--r--testing/rabbitmq-server/grep.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/rabbitmq-server/grep.patch b/testing/rabbitmq-server/grep.patch
new file mode 100644
index 0000000000..43d12a8e2f
--- /dev/null
+++ b/testing/rabbitmq-server/grep.patch
@@ -0,0 +1,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