]> mj.ucw.cz Git - moe.git/commitdiff
tester: Create tmp directory if necessary.
authorMartin Mares <mj@ucw.cz>
Sun, 18 Nov 2007 19:00:20 +0000 (20:00 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 18 Nov 2007 19:00:20 +0000 (20:00 +0100)
judge/tester

index fd6cce3fcd620b886260d7178828793b921c1bd8..ae3165a44ba8336d4db485c82e303fabffb55124 100755 (executable)
@@ -51,6 +51,10 @@ while (<>) {
        }
 }
 
+if (! -d "$rundir/tmp") {
+       mkdir "$rundir/tmp" or die "Unable to create $rundir/tmp: $!";
+}
+
 my $i = 0;
 my $errors = 0;
 my $prev_run = undef;