summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2022-09-05 19:26:00 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2022-09-05 19:26:00 +0000
commit71b44089a400cb95737e9d6434c0f8ddaeb731ee (patch)
tree8c1a4fe5891044f9302637c2d9898218caa18066 /Master/bin
parent74cc2173608e141854ec12ee77e84f48fad6fd37 (diff)
Adjustments on w32 for added 64-bit Ghostscript
git-svn-id: svn://tug.org/texlive/trunk@64296 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/runscript.tlu14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu
index 2ec625c9ed0..58ea0c4742d 100755
--- a/Master/bin/win32/runscript.tlu
+++ b/Master/bin/win32/runscript.tlu
@@ -712,12 +712,18 @@ else
..TEXDIR..'/tlpkg/tlgs/Resource;'
..TEXDIR..'/tlpkg/tlgs/kanji;'
..os.getenv('WINDIR')..'/Fonts;'..TEXMFDIST..'/fonts')
- os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll32.dll')
- GSEXE = TEXDIR..'/tlpkg/tlgs/bin/gswin32c.exe'
- GSNAME = 'gswin32c.exe'
- GSDIR = TEXDIR..'/tlpkg/tlgs/bin'
+ if is_64bit_windows_os() then
+ os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll64.dll')
+ GSEXE = TEXDIR..'/tlpkg/tlgs/bin/gswin64c.exe'
+ GSNAME = 'gswin64c.exe'
+ else
+ os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll32.dll')
+ GSEXE = TEXDIR..'/tlpkg/tlgs/bin/gswin32c.exe'
+ GSNAME = 'gswin32c.exe'
+ end
end
-- now setup the path so that the gs program will be found
+GSDIR = TEXDIR..'/tlpkg/tlgs/bin'
PATH = prepend_path(PATH, GSDIR, BINDIR)
os.setenv('PATH', PATH);