summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-04-30 08:11:40 +0000
committerNorbert Preining <preining@logic.at>2009-04-30 08:11:40 +0000
commitadb8399fc8d74c4741a3850ef86c39717eff865d (patch)
treeb8b377ccf0dc0928400ddd87ceaea4ed0463087b /Master/texmf/scripts
parentf5d04c107f767279bfc2d782fb64b8a25a28822a (diff)
fix uninitialized tlmgr restore $localtlpdb
git-svn-id: svn://tug.org/texlive/trunk@12883 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 29ce78d57f8..44f3a972ee8 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -942,6 +942,7 @@ sub action_restore {
}
} else {
# no argument, check for presence in TLPDB
+ init_local_db(1);
$opts{"backupdir"} = $localtlpdb->option("backupdir");
if (!$opts{"backupdir"}) {
tlwarn ("Don't know from where to restore backups, terminating.\n");