summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-08-07 04:58:55 +0000
committerNorbert Preining <preining@logic.at>2013-08-07 04:58:55 +0000
commitb52e0752062d16dddb8284341c16db58638a832a (patch)
treeac8cf88dba0a75cfe51195e71bd3dfa159c52113 /Build/source
parentd5f0d41c10212232a5506c0c4bc565a16ebdf820 (diff)
runscript.tlu: handle updmap-sys via updmap --sys as on Unix
git-svn-id: svn://tug.org/texlive/trunk@31374 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/w32_wrapper/runscript.tlu8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/w32_wrapper/runscript.tlu b/Build/source/texk/texlive/w32_wrapper/runscript.tlu
index 019d574a6cb..a839e1f08fb 100755
--- a/Build/source/texk/texlive/w32_wrapper/runscript.tlu
+++ b/Build/source/texk/texlive/w32_wrapper/runscript.tlu
@@ -234,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 --
@@ -466,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
@@ -510,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')