diff options
author | Norbert Preining <preining@logic.at> | 2010-09-28 01:52:57 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-09-28 01:52:57 +0000 |
commit | b06672f59336009e67384ebc9c989b6c410fec0d (patch) | |
tree | 881d4e19ea8b31c387bc204c0f4801dd082f2860 /Master/texmf | |
parent | b6632bc1ed9ebbb7a844f6fba63e66d6b64c8489 (diff) |
return undef if no path is defined in norm_tlpdb_path
git-svn-id: svn://tug.org/texlive/trunk@19926 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 5a3848ba8e0..7b2f88deadc 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -4499,6 +4499,7 @@ sub logpackage sub norm_tlpdb_path { my ($path) = @_; + return if (!defined($path)); $path =~ s!\\!/!; # just return if absolute path return $path if ($path =~ m!^/|:!); |