summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-03-17 18:28:37 +0000
committerFrancois Pons <fpons@mandriva.com>2000-03-17 18:28:37 +0000
commitc2291d42ccff39452769c2c5d1e62842765dcf7b (patch)
tree14ce67c307837e19500279e7d0133ac53933f329 /perl-install/commands.pm
parent3622540f67228fabb5399876b5af89f37cf461be (diff)
downloaddrakx-backup-do-not-use-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar
drakx-backup-do-not-use-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.gz
drakx-backup-do-not-use-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.bz2
drakx-backup-do-not-use-c2291d42ccff39452769c2c5d1e62842765dcf7b.tar.xz
drakx-backup-do-not-use-c2291d42ccff39452769c2c5d1e62842765dcf7b.zip
*** empty log message ***
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r--perl-install/commands.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index 1f2170de2..0c49dd87a 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -99,6 +99,7 @@ sub mkdir_ {
$rec or die "mkdir: $root does not exist (try option -p)\n";
&$mkdir($root);
}
+ $rec and -d $_[0] and return;
mkdir $_[0], 0755 or die "mkdir: error creating directory $_: $!\n";
};
&$mkdir($_) foreach @_;