]> mj.ucw.cz Git - bex.git/commitdiff
Use mkpath instead of make_path, it's not supported at Nikam yet
authorMartin Mares <mj@ucw.cz>
Mon, 31 Oct 2011 12:14:25 +0000 (13:14 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 31 Oct 2011 12:14:25 +0000 (13:14 +0100)
lib/BEX/Queue.pm

index 0e4cfd9bb9599c3ea5300a45d22a3f51f81c9ac1..04e21f87baae102eeea0127ae40d741cd6d51ea7 100644 (file)
@@ -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";