Browse Source

Fix .app compilation when a git tag contains a '/'

Jean Parpaillon 9 years ago
parent
commit
cb6fcf8c85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/erlc.mk

+ 1 - 1
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