summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-rsync.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/lua/mtx-rsync.lua')
-rw-r--r--scripts/context/lua/mtx-rsync.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-rsync.lua b/scripts/context/lua/mtx-rsync.lua
index 53cabbe4f..d3f01d85b 100644
--- a/scripts/context/lua/mtx-rsync.lua
+++ b/scripts/context/lua/mtx-rsync.lua
@@ -81,7 +81,7 @@ local report_command = logs.new("rsync command")
local cleanup
-if os.platform == "mswin" then
+if os.type == "windows" then
os.setenv("CYGWIN","nontsec")
cleanup = function(name)
return (gsub(name,"([a-zA-Z]):/", "/cygdrive/%1/"))