diff -r e392dfaf2c41 -r c2fc1eff9f51 tools/buildbot/bootstrap.pl --- a/tools/buildbot/bootstrap.pl Sun Oct 04 00:52:53 2009 -0500 +++ b/tools/buildbot/bootstrap.pl Tue Oct 06 01:46:06 2009 -0500 @@ -4,6 +4,7 @@ use strict; use Cwd; use File::Basename; +use File::Path; my ($myself, $path) = fileparse($0); chdir($path); @@ -20,7 +21,6 @@ #Create output folder if it doesn't exist. if (!(-d 'OUTPUT')) { - mkdir('OUTPUT') or die("Failed to create output folder: $!\n"); $reconf = 1; } else { if (-f 'OUTPUT/sentinel') { @@ -40,6 +40,8 @@ } if ($reconf) { + rmtree('OUTPUT'); + mkdir('OUTPUT') or die("Failed to create output folder: $!\n"); chdir('OUTPUT'); my ($result); print "Attempting to reconfigure...\n";