diff options
Diffstat (limited to 'perl-install/timezone.pm')
-rw-r--r-- | perl-install/timezone.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm index 7da47f135..1b45d243a 100644 --- a/perl-install/timezone.pm +++ b/perl-install/timezone.pm @@ -13,9 +13,9 @@ sub getTimeZones { my ($prefix) = @_; local *F; open F, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -type f |"; - my @l = sort map { chop; $_ } <F>; + my @l = chomp_(<F>); close F or die "cannot list the available zoneinfos"; - @l; + sort @l; } sub read { |