diff options
author | Jean Parpaillon <[email protected]> | 2016-01-05 17:42:55 +0100 |
---|---|---|
committer | Jean Parpaillon <[email protected]> | 2016-02-01 14:31:31 +0100 |
commit | cb6fcf8c85bc5f0a69bd135d3d951460cd1ca9c4 (patch) | |
tree | 3f5d029940894c94eabf94abbcf9b106d5675dd0 /core | |
parent | 35e12830150264f76cd21aa5941df3c4df48e5d8 (diff) | |
download | erlang.mk-cb6fcf8c85bc5f0a69bd135d3d951460cd1ca9c4.tar.gz erlang.mk-cb6fcf8c85bc5f0a69bd135d3d951460cd1ca9c4.tar.bz2 erlang.mk-cb6fcf8c85bc5f0a69bd135d3d951460cd1ca9c4.zip |
Fix .app compilation when a git tag contains a '/'
Diffstat (limited to 'core')
-rw-r--r-- | core/erlc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |