summaryrefslogtreecommitdiffstats
path: root/MDK/Common/File.pm
diff options
context:
space:
mode:
Diffstat (limited to 'MDK/Common/File.pm')
-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";