summaryrefslogtreecommitdiff
path: root/Master/install-tl.bat
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2012-03-14 23:36:00 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2012-03-14 23:36:00 +0000
commit583e22b12edbc8279b7bc367fd6ba39c598cec8f (patch)
tree4c401efb0fc4ded81bc8529bf364d5d2b15e0e64 /Master/install-tl.bat
parentb4d6b4f429dad72094b9f33bb304f39dbfa5f459 (diff)
clean environment from Perl variables before starting install-tl
git-svn-id: svn://tug.org/texlive/trunk@25649 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl.bat')
-rwxr-xr-xMaster/install-tl.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/install-tl.bat b/Master/install-tl.bat
index d40865a9561..6b85ede22ce 100755
--- a/Master/install-tl.bat
+++ b/Master/install-tl.bat
@@ -29,6 +29,25 @@ rem Use TL Perl
set "path=%~dp0tlpkg\tlperl\bin;%path%"
set "PERL5LIB=%~dp0tlpkg\tlperl\lib"
+rem Clean environment from other Perl variables
+set PERL5OPT=
+set PERLIO=
+set PERLIO_DEBUG=
+set PERLLIB=
+set PERL5DB=
+set PERL5DB_THREADED=
+set PERL5SHELL=
+set PERL_ALLOW_NON_IFS_LSP=
+set PERL_DEBUG_MSTATS=
+set PERL_DESTRUCT_LEVEL=
+set PERL_DL_NONLAZY=
+set PERL_ENCODING=
+set PERL_HASH_SEED=
+set PERL_HASH_SEED_DEBUG=
+set PERL_ROOT=
+set PERL_SIGNALS=
+set PERL_UNICODE=
+
rem Start installer
path
perl "%~dpn0" %*