summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-19 15:43:22 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-19 15:43:22 +0000
commit7530a7f6b7543bcddbbbd71266636b1a14501f86 (patch)
treef043a852bb99459fd391e78d8df4c8cc92e25da0 /rescue/tree/etc/oem
parent193c77916ca7ed3ee10876f4122fce58c7338f89 (diff)
downloaddrakx-backup-do-not-use-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar
drakx-backup-do-not-use-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.gz
drakx-backup-do-not-use-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.bz2
drakx-backup-do-not-use-7530a7f6b7543bcddbbbd71266636b1a14501f86.tar.xz
drakx-backup-do-not-use-7530a7f6b7543bcddbbbd71266636b1a14501f86.zip
fixed severe bug of directory not created.
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem2
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/) {