summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2016-02-03 17:45:27 +0100
committerBadlop <badlop@process-one.net>2016-02-03 17:45:27 +0100
commit315fc9493eb1f7b2374c6fde68391e8abaf451f9 (patch)
tree660fc8a68e1740ccc8653ecd2d1cfbb70fe8f98e /Makefile.in
parentMerge pull request #937 from Iperity/fix-presence-based-delivery (diff)
Handle spaces in vsn attribute of app file when installing deps (#940)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 08cd8379..1b7e5043 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,7 +137,7 @@ MAIN_FILES=$(filter-out %/configure.beam,$(call FILES_WILDCARD,ebin/*.beam ebin/
MAIN_DIRS=$(sort $(dir $(MAIN_FILES)) priv/bin priv/sql)
define DEP_VERSION_template
-DEP_$(1)_VERSION:=$(shell $(SED) -e '/vsn/!d;s/.*,"/$(1)-/;s/".*//' $(2) 2>/dev/null)
+DEP_$(1)_VERSION:=$(shell $(SED) -e '/vsn/!d;s/.*, *"/$(1)-/;s/".*//' $(2) 2>/dev/null)
endef
$(foreach DEP,$(DEPS),$(eval $(call DEP_VERSION_template,$(DEP),deps/$(DEP)/ebin/$(DEP).app)))