summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 62a046fe9..b7b1d4c33 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -113,7 +113,7 @@ sub mkinitrd {
return $initrd if $::testing # testing mode
|| -e "$::prefix/$initrd" # already exists
|| $initrd =~ /\(hd/ # unrecognized partition
- || !-d $dir; # dir doesn't exist (probably !mounted foreign part)
+ || !-d "$::prefix/$dir";# dir doesn't exist (probably !mounted foreign part)
# for /boot on dos partitions when installing on loopback file on dos partition
my $loop_boot = fs::loopback::prepare_boot();