summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-24 11:28:20 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-24 11:28:20 +0000
commit6a57d9f1db3f77e8918b405aa55cdb12ba04709d (patch)
tree5c4562b0d5ca951061f89699001809720b6f7166
parent8f125433d14511d91c09660aaf7687c6cfdf635e (diff)
downloaddrakx-6a57d9f1db3f77e8918b405aa55cdb12ba04709d.tar
drakx-6a57d9f1db3f77e8918b405aa55cdb12ba04709d.tar.gz
drakx-6a57d9f1db3f77e8918b405aa55cdb12ba04709d.tar.bz2
drakx-6a57d9f1db3f77e8918b405aa55cdb12ba04709d.tar.xz
drakx-6a57d9f1db3f77e8918b405aa55cdb12ba04709d.zip
use -noleaf option when finding timezones (useful over unionfs, #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;