texlive[51942] Master/bin/win32/runscript.tlu: patch by siep

commits+kakuto at tug.org commits+kakuto at tug.org
Fri Aug 23 15:13:14 CEST 2019


Revision: 51942
          http://tug.org/svn/texlive?view=revision&revision=51942
Author:   kakuto
Date:     2019-08-23 15:13:14 +0200 (Fri, 23 Aug 2019)
Log Message:
-----------
patch by siep

Modified Paths:
--------------
    trunk/Master/bin/win32/runscript.tlu

Modified: trunk/Master/bin/win32/runscript.tlu
===================================================================
--- trunk/Master/bin/win32/runscript.tlu	2019-08-23 12:44:52 UTC (rev 51941)
+++ trunk/Master/bin/win32/runscript.tlu	2019-08-23 13:13:14 UTC (rev 51942)
@@ -281,6 +281,8 @@
 -- HELPER SUBROUTINES --
 
 local TEXDIR
+local TEXDIRBSL
+local TEXMFDISTBSL
 local guimode
 
 local function show_error(msg)
@@ -706,12 +708,14 @@
   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'



More information about the tex-live-commits mailing list