aboutsummaryrefslogtreecommitdiffstats
path: root/packdrake-pm/packdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-10-16 14:07:35 +0000
committerFrancois Pons <fpons@mandriva.com>2002-10-16 14:07:35 +0000
commiteb79b08d2091d9e311515da043037a2f0c7fdf00 (patch)
treef9233dee89a2392ca9d0ef17206ed0dfc79f9e56 /packdrake-pm/packdrake.pm
parent9be8d3b3407562628b07f0b2c27b673ef208f225 (diff)
downloadrpmtools-eb79b08d2091d9e311515da043037a2f0c7fdf00.tar
rpmtools-eb79b08d2091d9e311515da043037a2f0c7fdf00.tar.gz
rpmtools-eb79b08d2091d9e311515da043037a2f0c7fdf00.tar.bz2
rpmtools-eb79b08d2091d9e311515da043037a2f0c7fdf00.tar.xz
rpmtools-eb79b08d2091d9e311515da043037a2f0c7fdf00.zip
4.5-3mdk4.5.3
Diffstat (limited to 'packdrake-pm/packdrake.pm')
-rw-r--r--packdrake-pm/packdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/packdrake-pm/packdrake.pm b/packdrake-pm/packdrake.pm
index d4c26e0..16ab823 100644
--- a/packdrake-pm/packdrake.pm
+++ b/packdrake-pm/packdrake.pm
@@ -95,7 +95,7 @@ sub mkdir_ {
mkdir_($root);
}
-d $_[0] and return;
- mkdir $_[0], 0755 or die "packdrake: mkdir: error creating directory $_: $!\n";
+ mkdir $_[0], 0755 or die "packdrake: mkdir: error creating directory $_[0]: $!\n";
}
sub symlink_ { mkdir_ dirname($_[1]); unlink $_[1]; symlink $_[0], $_[1] }