summaryrefslogtreecommitdiff
path: root/Master/bin/win32
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-02-08 10:26:52 +0000
committerNorbert Preining <preining@logic.at>2008-02-08 10:26:52 +0000
commit3cd1162b53f1b2857c3728c3a3459b37a4ea8aa3 (patch)
tree9220fbeeeeeab2a962b3b2c7f5f74e2c3113900f /Master/bin/win32
parent8b71ba174113bdcdd8ef8e09aa0905fdd9f2272a (diff)
use os.type from latest texlua
git-svn-id: svn://tug.org/texlive/trunk@6545 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32')
-rwxr-xr-xMaster/bin/win32/generate-fmtutil.texlua9
-rwxr-xr-xMaster/bin/win32/generate-language.texlua9
-rwxr-xr-xMaster/bin/win32/generate-updmap.texlua9
3 files changed, 9 insertions, 18 deletions
diff --git a/Master/bin/win32/generate-fmtutil.texlua b/Master/bin/win32/generate-fmtutil.texlua
index 1089cd2d921..85bd03814ff 100755
--- a/Master/bin/win32/generate-fmtutil.texlua
+++ b/Master/bin/win32/generate-fmtutil.texlua
@@ -25,13 +25,10 @@ kpse.set_program_name(basename)
TEXDIR=kpse.var_value("SELFAUTOPARENT")
-- if we are on win32 we have to use the shipped perl
-ostype = os.getenv("OS")
perlbin="perl"
-if (ostype) then
- if string.find(ostype, "Windows") then
- os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
- perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
- end
+if (os.type == "windows") then
+ os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
+ perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
end
script=kpse.find_file(basename..".pl", "texmfscripts")
diff --git a/Master/bin/win32/generate-language.texlua b/Master/bin/win32/generate-language.texlua
index b2013a3c8ca..16f80abaf06 100755
--- a/Master/bin/win32/generate-language.texlua
+++ b/Master/bin/win32/generate-language.texlua
@@ -25,13 +25,10 @@ kpse.set_program_name(basename)
TEXDIR=kpse.var_value("SELFAUTOPARENT")
-- if we are on win32 we have to use the shipped perl
-ostype = os.getenv("OS")
perlbin="perl"
-if (ostype) then
- if string.find(ostype, "Windows") then
- os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
- perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
- end
+if (os.type == "windows") then
+ os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
+ perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
end
script=kpse.find_file(basename..".pl", "texmfscripts")
diff --git a/Master/bin/win32/generate-updmap.texlua b/Master/bin/win32/generate-updmap.texlua
index 30549144271..ce6ca0ec093 100755
--- a/Master/bin/win32/generate-updmap.texlua
+++ b/Master/bin/win32/generate-updmap.texlua
@@ -25,13 +25,10 @@ kpse.set_program_name(basename)
TEXDIR=kpse.var_value("SELFAUTOPARENT")
-- if we are on win32 we have to use the shipped perl
-ostype = os.getenv("OS")
perlbin="perl"
-if (ostype) then
- if string.find(ostype, "Windows") then
- os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
- perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
- end
+if (os.type == "windows") then
+ os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib")
+ perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe"
end
script=kpse.find_file(basename..".pl", "texmfscripts")