aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-22 18:35:22 +0200
committerLoïc Hoguin <[email protected]>2019-06-22 18:35:22 +0200
commit07a66600ff2ac038673e9e0ec969467fe4ab34c6 (patch)
tree189b16cdee2054975a4a2e57debe69c902db10d8
parent52107a75ab3f9d16e98932ea852033f876822513 (diff)
downloaderlang.mk-07a66600ff2ac038673e9e0ec969467fe4ab34c6.tar.gz
erlang.mk-07a66600ff2ac038673e9e0ec969467fe4ab34c6.tar.bz2
erlang.mk-07a66600ff2ac038673e9e0ec969467fe4ab34c6.zip
Use forward slashes in the Windows paths
-rw-r--r--core/core.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core.mk b/core/core.mk
index 3da74d2..1f68cfc 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -175,7 +175,7 @@ $(ERL) $2 -pz $(ERLANG_MK_TMP)/rebar/ebin -eval "$(subst $(newline),,$(call esca
endef
ifeq ($(PLATFORM),msys2)
-core_native_path = $(subst \,\\\\,$(shell cygpath -w $1))
+core_native_path = $(shell cygpath -m $1)
else
core_native_path = $1
endif