summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-24 11:38:17 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-24 11:38:17 +0000
commit62d437f1be2aeb5601ebb3593042527b999d8748 (patch)
treec611c3e1a9135426de84e53e44373a9f063ee6ea
parentf531e1205dd62e1cc647a8e4b2f794657108c070 (diff)
downloaddrakx-backup-do-not-use-62d437f1be2aeb5601ebb3593042527b999d8748.tar
drakx-backup-do-not-use-62d437f1be2aeb5601ebb3593042527b999d8748.tar.gz
drakx-backup-do-not-use-62d437f1be2aeb5601ebb3593042527b999d8748.tar.bz2
drakx-backup-do-not-use-62d437f1be2aeb5601ebb3593042527b999d8748.tar.xz
drakx-backup-do-not-use-62d437f1be2aeb5601ebb3593042527b999d8748.zip
use -noleaf option when finding timezones (useful over unionfs, backport for #21272)
-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 b14dba9b0..c6fe47e53 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, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -type f |");
+ open(my $F, "find $prefix/usr/share/zoneinfo/[A-Z]* -noleaf -type f |");
my @l = difference2([ chomp_(<$F>) ], [ 'ROC', 'PRC' ]);
close $F or die "cannot list the available zoneinfos";
sort @l;