summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-07-06 14:38:57 +0000
committerNorbert Preining <preining@logic.at>2009-07-06 14:38:57 +0000
commitd8ae0710347d4e4dd75fe7710af9fc36fa8a6695 (patch)
tree42c73e6911bdbfcd9aa92f53c4f2e5c1881c7776 /Master/tlpkg/TeXLive
parentf90e3126f681edcbb5aa9cf4924c9b0474c2860e (diff)
- tlmgr: after adding/removing the path on Win, call broadcast_env
- TLWinGoo: comparison of path unifies the slashes git-svn-id: svn://tug.org/texlive/trunk@14153 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm1
-rw-r--r--Master/tlpkg/TeXLive/TLWinGoo.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index a8296e3c3f7..3aef571a81a 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1867,6 +1867,7 @@ sub w32_remove_from_path {
if (TeXLive::TLWinGoo::admin() && $multiuser) {
$mode = 'system';
}
+ debug("w32_remove_from_path: trying to remove $bindir in $mode\n");
TeXLive::TLWinGoo::adjust_reg_path_for_texlive('remove', $bindir, $mode);
}
diff --git a/Master/tlpkg/TeXLive/TLWinGoo.pm b/Master/tlpkg/TeXLive/TLWinGoo.pm
index 1bb81135496..e83b24442f8 100644
--- a/Master/tlpkg/TeXLive/TLWinGoo.pm
+++ b/Master/tlpkg/TeXLive/TLWinGoo.pm
@@ -489,6 +489,8 @@ sub adjust_reg_path_for_texlive {
my $tex_dir_conflict = 0;
foreach $d (split (';', $path)) {
$d_short = uc(short_name(expand_string($d)));
+ $d_short =~ s!/!\\!g;
+ ddebug("adjust_reg: compar $d_short with $tlbindir_short\n");
if ($d_short ne $tlbindir_short) {
push(@newpath, $d);
$tex_dir_conflict += is_a_texdir($d);