summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-12-06 12:12:18 +0000
committerNorbert Preining <preining@logic.at>2008-12-06 12:12:18 +0000
commit650990eaabf31dab51085fbe1e0e7a19b1e22926 (patch)
tree959c42eed61e0729e4c0cd0842a569c13a5ebf4b /Master/texmf/scripts
parent9195c8cd265f0664b6b23fa27a6d5a6470c014ed (diff)
fix Staszek's tlmgr2 death, we should not try to create 2 times the GUI
git-svn-id: svn://tug.org/texlive/trunk@11537 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr2.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr2.pl b/Master/texmf/scripts/texlive/tlmgr2.pl
index 25e4e878b60..4628af0abbb 100755
--- a/Master/texmf/scripts/texlive/tlmgr2.pl
+++ b/Master/texmf/scripts/texlive/tlmgr2.pl
@@ -1949,6 +1949,9 @@ Error message from creating MainWindow:
# be sure that sub actions do *not* finish
$::gui_mode = 1;
+ # also unset the $opt_gui to make recursive calls to action_* not starting
+ # another GUI instance (or better trying to ...)
+ $opt_gui = 0;
require("tlmgrgui2.pl");
# should not be reached