From 761708674ab3c7e2ca369804f9f2a84fbfee1d22 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 24 Feb 2006 12:06:05 +0000 Subject: oops, fix timezone listing (thanks Pixel) --- perl-install/timezone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1