From 7530a7f6b7543bcddbbbd71266636b1a14501f86 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 19 Sep 2003 15:43:22 +0000 Subject: fixed severe bug of directory not created. --- rescue/tree/etc/oem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index eb865e342..7b87a4560 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -581,7 +581,7 @@ foreach my $medium (@media) { my $infile = "/cdrom/" . $rpms{rpm_fullname($pkg)} . "/" . $files{rpm_fullname($pkg)}; my $outfile = "/hd/" . $rpms{rpm_fullname($pkg)} . "/" . $files{rpm_fullname($pkg)}; if (-r $infile && -s $infile != -s $outfile) { - -d "/hd" . $rpms{rpm_fullname($pkg)} or system "mkdir", "-p", "/hd" . $rpms{rpm_fullname($pkg)}; + -d "/hd/" . $rpms{rpm_fullname($pkg)} or system "mkdir", "-p", "/hd/" . $rpms{rpm_fullname($pkg)}; print " copying " . rpm_fullname($pkg) . "\n"; system "cp", "-a", $infile, $outfile; if (rpm_fullname($pkg) =~ /mandrake-release/) { -- cgit v1.2.1