summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-04 18:50:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-04 18:50:15 +0000
commitc5e1636582b7f63668205b562a701300ea2d1b3f (patch)
tree5fa91d24791f570f0cb9762bac6f8a8f0dbd5a7a
parent5bd8090f2565d5916255e68eb50d70ddd07681f6 (diff)
downloadperl-MDK-Common-c5e1636582b7f63668205b562a701300ea2d1b3f.tar
perl-MDK-Common-c5e1636582b7f63668205b562a701300ea2d1b3f.tar.gz
perl-MDK-Common-c5e1636582b7f63668205b562a701300ea2d1b3f.tar.bz2
perl-MDK-Common-c5e1636582b7f63668205b562a701300ea2d1b3f.tar.xz
perl-MDK-Common-c5e1636582b7f63668205b562a701300ea2d1b3f.zip
fix (old!) typo ($root is undefined, replaced with $dir)
-rw-r--r--MDK/Common/File.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm
index fd15da3..49225a1 100644
--- a/MDK/Common/File.pm
+++ b/MDK/Common/File.pm
@@ -135,7 +135,7 @@ sub mkdir_p {
if (-d $dir) {
# nothing to do
} elsif (-e $dir) {
- die "mkdir: error creating directory $dir: $root is a file and i won't delete it\n";
+ die "mkdir: error creating directory $dir: $dir is a file and i won't delete it\n";
} else {
mkdir_p(dirname($dir));
mkdir($dir, 0755) or die "mkdir: error creating directory $dir: $!\n";