summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-10-27 10:09:15 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-10-27 10:09:15 +0100
commit6a0bcaa32dca1aa733a3f7a52938ff272101ea7c (patch)
tree541f5035e379e01c620ae3ff9a1bca76d7579a3a /Makefile
parentdc7740cd8987665449a8e765a8dd05c31c367566 (diff)
downloadrabbitmq-server-git-6a0bcaa32dca1aa733a3f7a52938ff272101ea7c.tar.gz
make source-dist: Only force plugins' version when it's empty
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c3f4bfd15..c5687c15a0 100644
--- a/Makefile
+++ b/Makefile
@@ -236,7 +236,7 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST)
$(verbose) cat packaging/common/LICENSE.tail >> $(SOURCE_DIST)/LICENSE
$(verbose) find $(SOURCE_DIST)/deps/licensing -name 'LICENSE-*' -exec cp '{}' $(SOURCE_DIST) \;
$(verbose) for file in $$(find $(SOURCE_DIST) -name '*.app.src'); do \
- sed -E -i.bak -e 's/[{]vsn[[:blank:]]*,[^}]+}/{vsn, "$(VERSION)"}/' $$file; \
+ sed -E -i.bak -e 's/[{]vsn[[:blank:]]*,[[:blank:]]*""[[:blank:]]*}/{vsn, "$(VERSION)"}/' $$file; \
rm $$file.bak; \
done
$(verbose) echo "rabbit $$(git rev-parse HEAD) $$(git describe --tags --exact-match 2>/dev/null || git symbolic-ref -q --short HEAD)" > $(SOURCE_DIST)/git-revisions.txt