summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-08-23 13:13:14 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-08-23 13:13:14 +0000
commit9eba2605e0e897b5922fbac28f3312dc7f12da48 (patch)
treebb9c49de916efa4e25049727c2fe197f6cefbba6 /Master/bin
parent4015184937843466e1c41e7a723b950c01041442 (diff)
patch by siep
git-svn-id: svn://tug.org/texlive/trunk@51942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/runscript.tlu16
1 files changed, 10 insertions, 6 deletions
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'