diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-07-20 12:58:50 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-07-20 12:58:50 +0200 |
commit | 32249930b7a76aa385e3d39b32ae0c17340cf864 (patch) | |
tree | b320891750229563db2f1b950638ea5f80d5a510 | |
parent | cfeccceb2ef859702c9c89ec6a69a6ff4292b857 (diff) | |
download | aports-32249930b7a76aa385e3d39b32ae0c17340cf864.tar.bz2 aports-32249930b7a76aa385e3d39b32ae0c17340cf864.tar.xz |
testing/rabbitmq-server: replace all grep -E invocations
-rw-r--r-- | testing/rabbitmq-server/APKBUILD | 6 | ||||
-rw-r--r-- | testing/rabbitmq-server/grep.patch | 312 |
2 files changed, 315 insertions, 3 deletions
diff --git a/testing/rabbitmq-server/APKBUILD b/testing/rabbitmq-server/APKBUILD index db9910cd26..f7f5ccd164 100644 --- a/testing/rabbitmq-server/APKBUILD +++ b/testing/rabbitmq-server/APKBUILD @@ -82,12 +82,12 @@ package() { md5sums="12287613dfb924d4cde19202de6eb313 rabbitmq-server.initd f24af11867cddc5a17fefa8bf4276d52 rabbitmq-server.logrotate 3568dceb7f120549fc0add9836b89659 rabbitmq-server-3.6.3.tar.xz -9a1416ef9ce8ac9deaf494a1af951cdb grep.patch" +8c7c3403d240dd8a67503267c17f155b grep.patch" sha256sums="b1ffe4a47550474c7a5b8ab47f4cd40549b84ede361302fa58863f27f17be3ec rabbitmq-server.initd 9cce79e90835317b9704ecdf44e7dbc71803a17c85c1402f2bb4b2edb0232ab2 rabbitmq-server.logrotate 053b22ab1cdfddf1d3975f16d22a182d0bab673ab1b4a88f7a390f0b2a47648f rabbitmq-server-3.6.3.tar.xz -23f4cc625e9c4c937640eb5d6c91089c122299a8ee4cc4f7a2e040aeae269969 grep.patch" +53773ce795c39fac63cb725cab9bc864bd2849f5b609d7fbe29981d89e31b3be grep.patch" sha512sums="a8bb02a7cae1f8720e5c7aaabfe6a2c0e731cffbe0d8f99bdcb6597daa654dc49e6d41943974601435700cf469eaa8286dc91a3255a6b9023754c3861fbb5cd9 rabbitmq-server.initd b8655cb048ab3b32001d4e6920bb5366696f3a5da75c053605e9b270e771c548e36858dca8338813d34376534515bba00af5e6dd7b4b1754a0e64a8fb756e3f3 rabbitmq-server.logrotate a079701537686aba11fd2e0da5801848348a6d154414d006635005bf9e42d9b88e2d34d755a72eca43e2dc45fc83d8a37a99dd938f8f094424e65e77010cf91f rabbitmq-server-3.6.3.tar.xz -6bc2ebbaff9b0f3d82e9775453c5ffc66d0662566754aefab2b155e55d5615f29c484573dbc9f341590b9183c827663da1e6ddc122f2b721e4a9d91205441ac6 grep.patch" +84a5b186afcf3c8d279333473307cc5413763c690860b7d400b4843eb2b00e4db80917e1fa13e7d22cd67007ed044112def50bee87e917c2adcca37f2da6ecdd grep.patch" diff --git a/testing/rabbitmq-server/grep.patch b/testing/rabbitmq-server/grep.patch index 43d12a8e2f..2a7f719542 100644 --- a/testing/rabbitmq-server/grep.patch +++ b/testing/rabbitmq-server/grep.patch @@ -11,3 +11,315 @@ index efbcf5c..65fb954 100644 echo "Empty modules entry not found in $(PROJECT).app.src. Please consult the erlang.mk README for instructions." >&2; \ exit 1; \ fi +diff --git a/deps/amqp_client/erlang.mk b/deps/amqp_client/erlang.mk +index efbcf5c..65fb954 100644 +--- a/deps/amqp_client/erlang.mk ++++ b/deps/amqp_client/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 +diff --git a/deps/rabbit_common/erlang.mk b/deps/rabbit_common/erlang.mk +index fc2d806..05952b2 100644 +--- a/deps/rabbit_common/erlang.mk ++++ b/deps/rabbit_common/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_amqp1_0/erlang.mk b/deps/rabbitmq_amqp1_0/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_amqp1_0/erlang.mk ++++ b/deps/rabbitmq_amqp1_0/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_auth_backend_ldap/erlang.mk b/deps/rabbitmq_auth_backend_ldap/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_auth_backend_ldap/erlang.mk ++++ b/deps/rabbitmq_auth_backend_ldap/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_auth_mechanism_ssl/erlang.mk b/deps/rabbitmq_auth_mechanism_ssl/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_auth_mechanism_ssl/erlang.mk ++++ b/deps/rabbitmq_auth_mechanism_ssl/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_consistent_hash_exchange/erlang.mk b/deps/rabbitmq_consistent_hash_exchange/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_consistent_hash_exchange/erlang.mk ++++ b/deps/rabbitmq_consistent_hash_exchange/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_event_exchange/erlang.mk b/deps/rabbitmq_event_exchange/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_event_exchange/erlang.mk ++++ b/deps/rabbitmq_event_exchange/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_federation_management/erlang.mk b/deps/rabbitmq_federation_management/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_federation_management/erlang.mk ++++ b/deps/rabbitmq_federation_management/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_jms_topic_exchange/erlang.mk b/deps/rabbitmq_jms_topic_exchange/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_jms_topic_exchange/erlang.mk ++++ b/deps/rabbitmq_jms_topic_exchange/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_management/erlang.mk b/deps/rabbitmq_management/erlang.mk +index efbcf5c..65fb954 100644 +--- a/deps/rabbitmq_management/erlang.mk ++++ b/deps/rabbitmq_management/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 +diff --git a/deps/rabbitmq_management_agent/erlang.mk b/deps/rabbitmq_management_agent/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_management_agent/erlang.mk ++++ b/deps/rabbitmq_management_agent/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_management_visualiser/erlang.mk b/deps/rabbitmq_management_visualiser/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_management_visualiser/erlang.mk ++++ b/deps/rabbitmq_management_visualiser/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_mqtt/erlang.mk b/deps/rabbitmq_mqtt/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_mqtt/erlang.mk ++++ b/deps/rabbitmq_mqtt/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_recent_history_exchange/erlang.mk b/deps/rabbitmq_recent_history_exchange/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_recent_history_exchange/erlang.mk ++++ b/deps/rabbitmq_recent_history_exchange/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_sharding/erlang.mk b/deps/rabbitmq_sharding/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_sharding/erlang.mk ++++ b/deps/rabbitmq_sharding/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_shovel/erlang.mk b/deps/rabbitmq_shovel/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_shovel/erlang.mk ++++ b/deps/rabbitmq_shovel/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_shovel_management/erlang.mk b/deps/rabbitmq_shovel_management/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_shovel_management/erlang.mk ++++ b/deps/rabbitmq_shovel_management/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_stomp/erlang.mk b/deps/rabbitmq_stomp/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_stomp/erlang.mk ++++ b/deps/rabbitmq_stomp/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_top/erlang.mk b/deps/rabbitmq_top/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_top/erlang.mk ++++ b/deps/rabbitmq_top/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_tracing/erlang.mk b/deps/rabbitmq_tracing/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_tracing/erlang.mk ++++ b/deps/rabbitmq_tracing/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_trust_store/erlang.mk b/deps/rabbitmq_trust_store/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_trust_store/erlang.mk ++++ b/deps/rabbitmq_trust_store/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_web_dispatch/erlang.mk b/deps/rabbitmq_web_dispatch/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_web_dispatch/erlang.mk ++++ b/deps/rabbitmq_web_dispatch/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_web_stomp/erlang.mk b/deps/rabbitmq_web_stomp/erlang.mk +index 9f0c0c3..37f1700 100644 +--- a/deps/rabbitmq_web_stomp/erlang.mk ++++ b/deps/rabbitmq_web_stomp/erlang.mk +@@ -4977,7 +4977,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 +diff --git a/deps/rabbitmq_web_stomp_examples/erlang.mk b/deps/rabbitmq_web_stomp_examples/erlang.mk +index 1688ee8..e5f225a 100644 +--- a/deps/rabbitmq_web_stomp_examples/erlang.mk ++++ b/deps/rabbitmq_web_stomp_examples/erlang.mk +@@ -4977,7 +4977,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 |