diff options
author | Francois Pons <fpons@mandriva.com> | 2003-09-19 15:43:22 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-09-19 15:43:22 +0000 |
commit | 7530a7f6b7543bcddbbbd71266636b1a14501f86 (patch) | |
tree | f043a852bb99459fd391e78d8df4c8cc92e25da0 /rescue/tree/etc/oem | |
parent | 193c77916ca7ed3ee10876f4122fce58c7338f89 (diff) | |
download | drakx-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar drakx-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.gz drakx-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.bz2 drakx-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.xz drakx-7530a7f6b7543bcddbbbd71266636b1a14501f86.zip |
fixed severe bug of directory not created.
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-x | rescue/tree/etc/oem | 2 |
1 files changed, 1 insertions, 1 deletions
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/) { |