summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2020-10-05 23:03:26 +0000
committerNorbert Preining <preining@logic.at>2020-10-05 23:03:26 +0000
commit062c3590cc45b4f066df9492686112595d672f40 (patch)
treef2659b83a607d17674cffebaae5255fa7d489229
parente86ed73b28d7d94339582df2cc14aa60856cde20 (diff)
ignore return value from broadcast_env in tlgmr
git-svn-id: svn://tug.org/texlive/trunk@56562 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl8
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,