diff options
author | Loïc Hoguin <[email protected]> | 2019-06-24 13:01:59 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-24 13:01:59 +0200 |
commit | 24ff52b9d3ec99528868c8e06bde17e9a51d6ba5 (patch) | |
tree | ff40dfa0e0025bd106ab8e79b6a3c30fb9598a1f /plugins/erlydtl.mk | |
parent | c39d3f7c0bd4d8fb33ff6b33843407a3676a3c4b (diff) | |
download | erlang.mk-24ff52b9d3ec99528868c8e06bde17e9a51d6ba5.tar.gz erlang.mk-24ff52b9d3ec99528868c8e06bde17e9a51d6ba5.tar.bz2 erlang.mk-24ff52b9d3ec99528868c8e06bde17e9a51d6ba5.zip |
Fix more path issues on Windows
Diffstat (limited to 'plugins/erlydtl.mk')
-rw-r--r-- | plugins/erlydtl.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/erlydtl.mk b/plugins/erlydtl.mk index 466b634..7720a36 100644 --- a/plugins/erlydtl.mk +++ b/plugins/erlydtl.mk @@ -42,7 +42,7 @@ define erlydtl_compile.erl "" -> filename:basename(F, ".dtl"); _ -> - "$(DTL_PATH)/" ++ F2 = filename:rootname(F, ".dtl"), + "$(call core_native_path,$(DTL_PATH))/" ++ F2 = filename:rootname(F, ".dtl"), re:replace(F2, "/", "_", [{return, list}, global]) end, Module = list_to_atom("$(DTL_PREFIX)" ++ string:to_lower(Module0) ++ "$(DTL_SUFFIX)"), |