open (VARS, '>', $varsfile) or die "creating $varsfile failed: $!\n";
VARS->autoflush (1);
-my $logfile = "$resultsdir/LOG";
+our $logfile = "$resultsdir/LOG";
open (LOG, '>', $logfile) or die "creating $logfile failed: $!\n";
my $build_host = `hostname`;
# Extract source.
start_step ("Extract branch into source directory");
run ("git archive --format=tar --prefix=pspp$build_number/ refs/builds/$build_number/pspp | (cd $builddir && tar xf -)");
- run ("git branch -D buildtmp/$$/pspp");
# Extract version number.
start_step ("Extract repository version number");