summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2018-05-28 00:51:15 +0000
committerNorbert Preining <preining@logic.at>2018-05-28 00:51:15 +0000
commit4ce336e6b75c7b635f3e89eac5b729391f10ba71 (patch)
tree063fc92c1dd631a2b103d2be979481c779c7aeff /Master/tlpkg/TeXLive/TLUtils.pm
parent87157a100215912390e13514815d099649cedc33 (diff)
fix suicide
git-svn-id: svn://tug.org/texlive/trunk@47856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 38573e0371f..6209b028841 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -4327,7 +4327,7 @@ sub repository_to_array {
my $r = shift;
my %r;
die "internal error, repository_to_array passed nothing (caller="
- . caller . ")";
+ . caller . ")" if (!$r);
my @repos = split (' ', $r);
if ($#repos == 0) {
# only one repo, this is the main one!