From cb6fcf8c85bc5f0a69bd135d3d951460cd1ca9c4 Mon Sep 17 00:00:00 2001 From: Jean Parpaillon Date: Tue, 5 Jan 2016 17:42:55 +0100 Subject: Fix .app compilation when a git tag contains a '/' --- core/erlc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/erlc.mk') diff --git a/core/erlc.mk b/core/erlc.mk index 2297047..ceb3ae6 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -250,7 +250,7 @@ else fi $(appsrc_verbose) cat src/$(PROJECT).app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \[$(call comma_list,$(MODULES))\]}/" \ - | sed "s/{id,[[:space:]]*\"git\"}/{id, \"$(GITDESCRIBE)\"}/" \ + | sed "s/{id,[[:space:]]*\"git\"}/{id, \"$(subst /,\/,$(GITDESCRIBE))\"}/" \ > ebin/$(PROJECT).app endif -- cgit v1.2.3