diff options
-rw-r--r-- | Master/tlpkg/TeXLive/TLTREE.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm index 652894ef06b..545ba366ac2 100644 --- a/Master/tlpkg/TeXLive/TLTREE.pm +++ b/Master/tlpkg/TeXLive/TLTREE.pm @@ -314,15 +314,17 @@ sub svnroot { if (@_) { $self->{'svnroot'} = shift }; return $self->{'svnroot'}; } + sub architectures { my $self = shift; if (@_) { @Architectures = @_ } return @Architectures; } + sub archs { my $self = shift; if (@_) { @{ $self->{'archs'} } = @_ } - return @{ $self->{'archs'} }; + return exists $self->{'archs'} ? @{ $self->{'archs'} } : undef; } |