summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua')
-rw-r--r--Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua b/Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua
index d85a3d203d2..71311bf51c1 100644
--- a/Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua
+++ b/Master/texmf-dist/tex/latex/l3build/l3build-file-functions.lua
@@ -364,7 +364,11 @@ end
-- Deal with the fact that Windows and Unix use different path separators
function unix_to_win(path)
- return gsub(path, "/", "\\")
+ if os_type == "windows" then
+ return gsub(path, "/", "\\")
+ else
+ return path
+ end
end