diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index b89a068c7e9..e2211075d0f 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -1507,7 +1507,9 @@ sub action_path { $ret |= TeXLive::TLUtils::w32_add_to_path( $localtlpdb->root . "/bin/win32", $winadminmode); - $ret |= TeXLive::TLWinGoo::broadcast_env(); + # ignore this return value, since broadcase_env might return + # nothing in case of errors, and there is no way around it. + # $ret |= TeXLive::TLWinGoo::broadcast_env(); } else { $ret |= TeXLive::TLUtils::add_symlinks($localtlpdb->root, $localtlpdb->platform(), @@ -1520,7 +1522,9 @@ sub action_path { $ret |= TeXLive::TLUtils::w32_remove_from_path( $localtlpdb->root . "/bin/win32", $winadminmode); - $ret |= TeXLive::TLWinGoo::broadcast_env(); + # ignore this return value, since broadcase_env might return + # nothing in case of errors, and there is no way around it. + # $ret |= TeXLive::TLWinGoo::broadcast_env(); } else { # remove symlinks $ret |= TeXLive::TLUtils::remove_symlinks($localtlpdb->root, |