From: Martin Mares Date: Mon, 31 Oct 2011 12:14:25 +0000 (+0100) Subject: Use mkpath instead of make_path, it's not supported at Nikam yet X-Git-Tag: v3.0~47 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=65f11d1597b1a19bf45e3e0efd37ecb368558523;p=bex.git Use mkpath instead of make_path, it's not supported at Nikam yet --- diff --git a/lib/BEX/Queue.pm b/lib/BEX/Queue.pm index 0e4cfd9..04e21f8 100644 --- a/lib/BEX/Queue.pm +++ b/lib/BEX/Queue.pm @@ -108,7 +108,7 @@ sub remove($$) { if ($BEX::Config::keep_history) { my $s = $queue->{'Name'} . '/hosts/' . $machine; my $d = $queue->{'Name'} . '/history/' . $machine; - File::Path::make_path($d); + File::Path::mkpath($d); for my $suff ('job', 'stat', 'log') { my $src = "$s/$jid.$suff"; my $dst = "$d/$jid.$suff";