summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-18 01:30:01 +0000
committerNorbert Preining <preining@logic.at>2010-05-18 01:30:01 +0000
commitcbfe8861b6a4444084f664d0cb2a2a487a9f36c3 (patch)
tree14f707a65ce452bacf354be0056b467988c35e6c /Master/tlpkg
parent9793e8f67462f72e51284ef2ef492cfea31bfd22 (diff)
fix import of settings from 2009
git-svn-id: svn://tug.org/texlive/trunk@18324 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 27f3835b646..811556c77bc 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -1126,7 +1126,7 @@ sub option_pkg {
if (@_) { $self->_set_value_pkg($pkg, "opt_", $key, shift); }
my $ret = $self->_value_pkg($pkg, "opt_", $key);
# special case for location == __MASTER__
- if ($ret eq "__MASTER__" && $key eq "location") {
+ if (defined($ret) && $ret eq "__MASTER__" && $key eq "location") {
return $self->root;
}
return $ret;