From: Martin Mares Date: Sun, 18 Nov 2007 19:00:20 +0000 (+0100) Subject: tester: Create tmp directory if necessary. X-Git-Tag: python-dummy-working~270 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=08e81bbdc8ff5a50a8050b2ce9b2fb04810abbfd;p=moe.git tester: Create tmp directory if necessary. --- diff --git a/judge/tester b/judge/tester index fd6cce3..ae3165a 100755 --- a/judge/tester +++ b/judge/tester @@ -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;