summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-02-09 10:17:13 +0000
committerNorbert Preining <preining@logic.at>2008-02-09 10:17:13 +0000
commit684e1fc5913f69c94260b0eece898ae01ce9dd12 (patch)
treee471b0112d9cd2f1daccaf65e7a2f02885cd2fd1 /Master/bin
parent9be678d6ee982e37d6b60b6eb76e2f15840d9174 (diff)
forgot to fix updmap(-sys).texlua for the wn quoting crazyness
git-svn-id: svn://tug.org/texlive/trunk@6580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/updmap-sys.texlua6
-rwxr-xr-xMaster/bin/win32/updmap.texlua6
2 files changed, 10 insertions, 2 deletions
diff --git a/Master/bin/win32/updmap-sys.texlua b/Master/bin/win32/updmap-sys.texlua
index a92b4a940e7..e96be2fa700 100755
--- a/Master/bin/win32/updmap-sys.texlua
+++ b/Master/bin/win32/updmap-sys.texlua
@@ -37,7 +37,11 @@ os.setenv("PATH", TEXDIR.."/tlpkg/tlgs/bin;"..os.getenv("PATH"))
perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
script=kpse.find_file(basename..".pl", "texmfscripts")
-command={'"'..perlbin..'"', '"'..script..'"'}
+if (os.type == "windows") then
+ command={'"'..perlbin..'"', '"'..script..'"'}
+else
+ command={ perlbin, script }
+end
command[0] = perlbin
for i=1, #arg do
diff --git a/Master/bin/win32/updmap.texlua b/Master/bin/win32/updmap.texlua
index b74338c313f..408bb4d05e5 100755
--- a/Master/bin/win32/updmap.texlua
+++ b/Master/bin/win32/updmap.texlua
@@ -37,7 +37,11 @@ os.setenv("PATH", TEXDIR.."/tlpkg/tlgs/bin;"..os.getenv("PATH"))
perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
script=kpse.find_file(basename..".pl", "texmfscripts")
-command={'"'..perlbin..'"', '"'..script..'"'}
+if (os.type == "windows") then
+ command={'"'..perlbin..'"', '"'..script..'"'}
+else
+ command={ perlbin, script }
+end
command[0] = perlbin
for i=1, #arg do