From 39cdc2f09e519069b88f1675db2b6e59f3b80c07 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 7 Aug 2013 04:59:45 +0000 Subject: update runscript.tlu from source git-svn-id: svn://tug.org/texlive/trunk@31375 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/runscript.tlu | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Master') 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') -- cgit v1.2.3