summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index e51b1df93..15da3a2c5 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -250,7 +250,8 @@ sub release_file {
sub mandrake_release {
my ($o_dir) = @_;
- chomp_(cat_(release_file($o_dir)));
+ my $f = release_file($o_dir);
+ $f && chomp_(cat_("$o_dir$f"));
}
sub require_root_capability() {