From 834f1391ff8f4169b1924e1b873eedd4329cc001 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 8 Jun 2009 15:04:16 +0000 Subject: undef the info global vars for execute actions so that in GUI mode they do not accumulate git-svn-id: svn://tug.org/texlive/trunk@13672 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Master/texmf') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 9bde01ab219..581ac3aff1f 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -435,6 +435,7 @@ sub handle_execute_actions { if ($::files_changed) { $errors += do_cmd_and_check("mktexlsr"); + $::files_changed = 0; } # @@ -548,8 +549,12 @@ sub handle_execute_actions { # if ($::regenerate_all_formats) { $errors += do_cmd_and_check("fmtutil-sys --all"); + $::regenerate_all_formats = 0; } + # undefine the global var, otherwise in GUI mode the actions are accumulating + undef %::execute_actions; + return $errors; } -- cgit v1.2.3