summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-24 12:06:05 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-24 12:06:05 +0000
commit761708674ab3c7e2ca369804f9f2a84fbfee1d22 (patch)
tree7654ca14b8582dd784f67cd8c861c0002f47dd79
parent62d437f1be2aeb5601ebb3593042527b999d8748 (diff)
downloaddrakx-761708674ab3c7e2ca369804f9f2a84fbfee1d22.tar
drakx-761708674ab3c7e2ca369804f9f2a84fbfee1d22.tar.gz
drakx-761708674ab3c7e2ca369804f9f2a84fbfee1d22.tar.bz2
drakx-761708674ab3c7e2ca369804f9f2a84fbfee1d22.tar.xz
drakx-761708674ab3c7e2ca369804f9f2a84fbfee1d22.zip
oops, fix timezone listing (thanks Pixel)
-rw-r--r--perl-install/timezone.pm2
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;