summaryrefslogtreecommitdiffstats
path: root/perl-install/timezone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/timezone.pm')
-rw-r--r--perl-install/timezone.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm
index 3eb4fafe8..ad79cdb6b 100644
--- a/perl-install/timezone.pm
+++ b/perl-install/timezone.pm
@@ -18,8 +18,7 @@ sub getTimeZones {
}
sub read {
- my ($prefix) = @_;
- my %t = getVarsFromSh("$prefix/etc/sysconfig/clock") or return {};
+ my %t = getVarsFromSh("$::prefix/etc/sysconfig/clock") or return {};
{ timezone => $t{ZONE}, UTC => text2bool($t{UTC}) };
}