diff options
author | nevar <[email protected]> | 2016-08-08 14:23:16 +0700 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-19 18:23:10 +0200 |
commit | da05859f4bef76b8b933c65ee764c48a97b4baf5 (patch) | |
tree | ea47f4c393606ada8066f430d4d002468bb4c3c7 /core | |
parent | fc7f6acd00331b09217fe733b89c620771fdabd5 (diff) | |
download | erlang.mk-da05859f4bef76b8b933c65ee764c48a97b4baf5.tar.gz erlang.mk-da05859f4bef76b8b933c65ee764c48a97b4baf5.tar.bz2 erlang.mk-da05859f4bef76b8b933c65ee764c48a97b4baf5.zip |
Escape % in app_file template
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 ed9aa88..9db10e1 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -243,7 +243,7 @@ ebin/$(PROJECT).app:: $(ERL_FILES) $(CORE_FILES) $(wildcard src/$(PROJECT).app.s $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename \ $(filter-out $(ERLC_EXCLUDE_PATHS),$(ERL_FILES) $(CORE_FILES) $(BEAM_FILES))))))) ifeq ($(wildcard src/$(PROJECT).app.src),) - $(app_verbose) printf '$(subst $(newline),\n,$(subst ','\'',$(call app_file,$(GITDESCRIBE),$(MODULES))))' \ + $(app_verbose) printf '$(subst %,%%,$(subst $(newline),\n,$(subst ','\'',$(call app_file,$(GITDESCRIBE),$(MODULES)))))' \ > ebin/$(PROJECT).app else $(verbose) if [ -z "$$(grep -e '^[^%]*{\s*modules\s*,' src/$(PROJECT).app.src)" ]; then \ |