This commit is contained in:
Dr. Stephen Henson 2012-01-03 19:43:06 +00:00
parent 409abd2fec
commit 24fadf2a20

View File

@ -60,10 +60,10 @@ die "Second stage Compile failure" if $? != 0;
my $delcnt = 0; my $delcnt = 0;
# On windows the previous file doesn't always close straight away # On windows the previous file doesn't always close straight away
# so retry an unlink operation a few times if it fails. # so retry an unlink operation a few times if it fails.
while (!unlink($target)) while (!unlink($fips_target))
{ {
sleep 2; sleep 2;
die "Can't delete $target" if ($delcnt++ > 10); die "Can't delete $fips_target" if ($delcnt++ > 10);
} }