diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/generate-fmtutil.texlua | 6 | ||||
-rwxr-xr-x | Master/bin/win32/generate-language.texlua | 6 | ||||
-rwxr-xr-x | Master/bin/win32/generate-updmap.texlua | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Master/bin/win32/generate-fmtutil.texlua b/Master/bin/win32/generate-fmtutil.texlua index f871b3f71d5..9aeaf6917f0 100755 --- a/Master/bin/win32/generate-fmtutil.texlua +++ b/Master/bin/win32/generate-fmtutil.texlua @@ -38,7 +38,11 @@ if (not(script)) then os.exit(1) end -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/generate-language.texlua b/Master/bin/win32/generate-language.texlua index 0434d9f245d..233cc93bf2b 100755 --- a/Master/bin/win32/generate-language.texlua +++ b/Master/bin/win32/generate-language.texlua @@ -38,7 +38,11 @@ if (not(script)) then os.exit(1) end -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/generate-updmap.texlua b/Master/bin/win32/generate-updmap.texlua index a6c8831e51f..b11dfb723d9 100755 --- a/Master/bin/win32/generate-updmap.texlua +++ b/Master/bin/win32/generate-updmap.texlua @@ -38,7 +38,11 @@ if (not(script)) then os.exit(1) end -command={'"'..perlbin..'"', '"'..script..'"'} +if (os.type == "windows") then + command={'"'..perlbin..'"', '"'..script..'"'} +else + command={ perlbin, script } +end command[0] = perlbin for i=1, #arg do |