From 062c3590cc45b4f066df9492686112595d672f40 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 5 Oct 2020 23:03:26 +0000 Subject: ignore return value from broadcast_env in tlgmr git-svn-id: svn://tug.org/texlive/trunk@56562 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Master') 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, -- cgit v1.2.3