summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-08 15:04:16 +0000
committerNorbert Preining <preining@logic.at>2009-06-08 15:04:16 +0000
commit834f1391ff8f4169b1924e1b873eedd4329cc001 (patch)
tree445619ab5e4f459f7dfdb57df73a5cb3ed4b4e1a /Master/texmf
parent95eb7ead780f7de930d678a7ba295b27fa6d587e (diff)
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
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl5
1 files changed, 5 insertions, 0 deletions
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;
}