From 9eba2605e0e897b5922fbac28f3312dc7f12da48 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 23 Aug 2019 13:13:14 +0000 Subject: patch by siep git-svn-id: svn://tug.org/texlive/trunk@51942 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/runscript.tlu | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Master/bin/win32') diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index 06f01cdf2f6..a34cc9eb4d0 100755 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -281,6 +281,8 @@ local docstr = [[ -- HELPER SUBROUTINES -- local TEXDIR +local TEXDIRBSL +local TEXMFDISTBSL local guimode local function show_error(msg) @@ -706,12 +708,14 @@ if GSEXE then end else -- use built in gs - os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;' - ..TEXDIR..'/tlpkg/tlgs/fonts;' - ..TEXDIR..'/tlpkg/tlgs/Resource/Init;' - ..TEXDIR..'/tlpkg/tlgs/Resource;' - ..TEXDIR..'/tlpkg/tlgs/kanji;' - ..string.gsub(os.getenv('WINDIR'), '\\', '/')..'/Fonts;'..TEXMFDIST..'/fonts') + TEXDIRBSL = string.gsub(TEXDIR,'/', '\\') + TEXMFDISTBSL = string.gsub(TEXMFDIST,'/', '\\') + os.setenv('GS_LIB', TEXDIRBSL..'\\tlpkg\\tlgs\\lib;' + ..TEXDIRBSL..'\\tlpkg\\tlgs\\fonts;' + ..TEXDIRBSL..'\\tlpkg\\tlgs\\Resource\\Init;' + ..TEXDIRBSL..'\\tlpkg\\tlgs\\Resource;' + ..TEXDIRBSL..'\\tlpkg\\tlgs\\kanji;' + ..os.getenv('WINDIR')..'\\Fonts;'..TEXMFDISTBSL..'\\fonts') os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll32.dll') GSEXE = TEXDIR..'/tlpkg/tlgs/bin/gswin32c.exe' GSNAME = 'gswin32c.exe' -- cgit v1.2.3