summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-23 00:21:26 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-25 03:09:55 -0500
commit5a9b56f024a38cd497e5d8b7dce6c17c599d277f (patch)
tree326bbaf476f4f6d10c9d01b99cd535fac86ee3d4 /acprep
parent823f76eaf0d12ca7280d5f3d0045b78fb7f3713b (diff)
downloadfork-ledger-5a9b56f024a38cd497e5d8b7dce6c17c599d277f.tar.gz
fork-ledger-5a9b56f024a38cd497e5d8b7dce6c17c599d277f.tar.bz2
fork-ledger-5a9b56f024a38cd497e5d8b7dce6c17c599d277f.zip
Use chmod before removing the proof build directory
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep1
1 files changed, 1 insertions, 0 deletions
diff --git a/acprep b/acprep
index 4ebd6914..88b84c08 100755
--- a/acprep
+++ b/acprep
@@ -1646,6 +1646,7 @@ class PrepareBuild(CommandLineApp):
try:
shutil.rmtree(self.build_directory())
except:
+ self.execute('chmod', '-R', 'u+w', self.build_directory())
self.execute('rm', '-fr', self.build_directory())
def phase_distcheck(self, *args):