aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rabbitmq-server/grep.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-20 12:48:52 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-20 12:49:50 +0200
commitcfeccceb2ef859702c9c89ec6a69a6ff4292b857 (patch)
treef95f0c49c407850cd2434466796eec9c1a75edb5 /testing/rabbitmq-server/grep.patch
parentfedb0bf4e720d95e6e55b2067b71f340782ad564 (diff)
downloadaports-cfeccceb2ef859702c9c89ec6a69a6ff4292b857.tar.bz2
aports-cfeccceb2ef859702c9c89ec6a69a6ff4292b857.tar.xz
testing/rabbitmq-server: fix build
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