summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-08-07 04:59:45 +0000
committerNorbert Preining <preining@logic.at>2013-08-07 04:59:45 +0000
commit39cdc2f09e519069b88f1675db2b6e59f3b80c07 (patch)
tree0e365162a04553512d76795a2fc9885ab0e25526 /Master
parentb52e0752062d16dddb8284341c16db58638a832a (diff)
update runscript.tlu from source
git-svn-id: svn://tug.org/texlive/trunk@31375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/bin/win32/runscript.tlu9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu
index 665cb91a955..6161b41a518 100755
--- a/Master/bin/win32/runscript.tlu
+++ b/Master/bin/win32/runscript.tlu
@@ -1,5 +1,4 @@
--- $Id$
local svnrevision = string.match("$Revision$", "%d+") or "0"
local svndate = string.match("$Date$", "[-%d]+") or "2009-12-04"
@@ -235,6 +234,8 @@ local docstr = [[
2013/07/03
- fix for psview and UNC paths in unix-style
- remove not needed is_abs_path function
+ 2013/08/07
+ - handle updmap-sys via updmap --sys
]]
-- HELPER SUBROUTINES --
@@ -467,7 +468,7 @@ os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll32.dll')
PATH = prepend_path(PATH, TEXDIR..'/tlpkg/tlgs/bin', BINDIR)
os.setenv('PATH', PATH);
-- sys stuff
-if sysprog then
+if (sysprog and not (progname == 'updmap')) then
os.setenv('TEXMFVAR', kpse.var_value('TEXMFSYSVAR'))
os.setenv('TEXMFCONFIG', kpse.var_value('TEXMFSYSCONFIG'))
end
@@ -511,6 +512,10 @@ if is_tex4ht_command(progname) then
progname = 'mk4ht'
elseif progname == 'a2ping' then
table.insert(extension_map['.pl'], '-x')
+elseif progname == 'updmap' then
+ if sysprog then
+ argline = progname .. ' --sys ' .. argline
+ end
elseif progname == 'asy' then
os.setenv('ASYMPTOTE_GS', TEXDIR..'/tlpkg/tlgs/bin/gswin32c.exe')
os.setenv('CYGWIN', 'nodosfilewarning')