diff options
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 52d6ed44fda..272d091de9f 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -35,7 +35,11 @@ BEGIN { $^W = 1; # make subprograms (including kpsewhich) have the right path: ($mydir = $0) =~ s,/[^/]*$,,; - $ENV{"PATH"} = "$mydir:$ENV{PATH}"; + if ($^O=~/^MSWin(32|64)$/i) { + $ENV{"PATH"} = "$mydir;$ENV{PATH}"; + } else { + $ENV{"PATH"} = "$mydir:$ENV{PATH}"; + } # chomp($Master = `kpsewhich -var-value=SELFAUTOPARENT`); # |