summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-update.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-07-30 11:35:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-07-30 11:35:00 +0200
commitd879fd040aa85b55875d8aed16394351518dde21 (patch)
tree09d8d98b17282cb23362b8c94fe124b48afe89b9 /scripts/context/lua/mtx-update.lua
parent84903d24d6d930438bb3cc4322c4b14271b713aa (diff)
downloadcontext-d879fd040aa85b55875d8aed16394351518dde21.tar.gz
stable 2010.07.30 11:35
Diffstat (limited to 'scripts/context/lua/mtx-update.lua')
-rw-r--r--scripts/context/lua/mtx-update.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-update.lua b/scripts/context/lua/mtx-update.lua
index 6552215bb..cd97672bd 100644
--- a/scripts/context/lua/mtx-update.lua
+++ b/scripts/context/lua/mtx-update.lua
@@ -351,6 +351,9 @@ function scripts.update.synchronize()
-- command = format("%s %s %s %s'%s' '%s'", bin, normalflags, deleteflags, url, archives, destination)
-- end
local normalflags, deleteflags = states.get("rsync.flags.normal"), ""
+if os.name == "windows" then
+ normalflags = normalflags .. " -L" -- no symlinks
+end
local dryrunflags = ""
if not environment.argument("force") then
dryrunflags = "--dry-run"
@@ -475,7 +478,7 @@ messages.help = [[
--server=string repository url (rsync://contextgarden.net)
--module=string repository url (minimals)
--repository=string specify version (current, experimental)
---context=string specify version (current, latest, yyyy.mm.dd)
+--context=string specify version (current, latest, beta, yyyy.mm.dd)
--rsync=string rsync binary (rsync)
--texroot=string installation directory (not guessed for the moment)
--engine=string tex engine (luatex, pdftex, xetex)