summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
commitee641f353c9a2216533800464d26afe86f1b028e (patch)
tree2f7b290d5e6ea5c395ff294d4c911a4f942fe6f6 /acprep
parent1ad826c2bccabad844156a181735dd960f87d174 (diff)
downloadfork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.gz
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.bz2
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.zip
Resolve some issues with proof builds
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index 0d7f3cd0..4ebd6914 100755
--- a/acprep
+++ b/acprep
@@ -1643,7 +1643,10 @@ class PrepareBuild(CommandLineApp):
isdir(self.build_directory()):
self.log.info('=== Wiping build directory %s ===' %
self.build_directory())
- shutil.rmtree(self.build_directory())
+ try:
+ shutil.rmtree(self.build_directory())
+ except:
+ self.execute('rm', '-fr', self.build_directory())
def phase_distcheck(self, *args):
self.log.info('Executing phase: distcheck')