diff options
| author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-07-20 12:48:52 +0200 |
|---|---|---|
| committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-07-20 12:49:50 +0200 |
| commit | cfeccceb2ef859702c9c89ec6a69a6ff4292b857 (patch) | |
| tree | f95f0c49c407850cd2434466796eec9c1a75edb5 /testing/rabbitmq-server/grep.patch | |
| parent | fedb0bf4e720d95e6e55b2067b71f340782ad564 (diff) | |
| download | aports-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.patch | 13 |
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 |
