Browse Source

Properly convert DTL files path on Windows/MSYS2

Loïc Hoguin 8 years ago
parent
commit
1c06eab836
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/erlydtl.mk

+ 2 - 1
plugins/erlydtl.mk

@@ -56,6 +56,7 @@ endef
 
 
 ebin/$(PROJECT).app:: $(DTL_FILES) | ebin/
 ebin/$(PROJECT).app:: $(DTL_FILES) | ebin/
 	$(if $(strip $?),\
 	$(if $(strip $?),\
-		$(dtl_verbose) $(call erlang,$(call erlydtl_compile.erl,$?),-pa ebin/ $(DEPS_DIR)/erlydtl/ebin/))
+		$(dtl_verbose) $(call erlang,$(call erlydtl_compile.erl,$(call core_native_path,$?)),\
+			-pa ebin/ $(DEPS_DIR)/erlydtl/ebin/))
 
 
 endif
 endif