diff options
-rw-r--r-- | perl-install/timezone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm index c6fe47e53..1182c8c41 100644 --- a/perl-install/timezone.pm +++ b/perl-install/timezone.pm @@ -9,7 +9,7 @@ use log; sub getTimeZones() { my $prefix = $::testing ? '' : $::prefix; - open(my $F, "find $prefix/usr/share/zoneinfo/[A-Z]* -noleaf -type f |"); + open(my $F, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -noleaf -type f |"); my @l = difference2([ chomp_(<$F>) ], [ 'ROC', 'PRC' ]); close $F or die "cannot list the available zoneinfos"; sort @l; |