summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-rsync.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-11-22 23:40:17 +0200
committerMarius <mariausol@gmail.com>2013-11-22 23:40:17 +0200
commitcde16bedc683a2749f548e9a36d2b88bd3d4aa50 (patch)
treefdac83799844e93375a3a98c447c22f926c1547d /scripts/context/lua/mtx-rsync.lua
parent236ca1f8c953cd7568e2aaa0d54c6fc61ca42a41 (diff)
downloadcontext-cde16bedc683a2749f548e9a36d2b88bd3d4aa50.tar.gz
beta 2013.11.22 22:29
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/"))