diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2011-12-12 09:16:34 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2011-12-12 09:16:34 +0000 |
commit | 308d0e324c88777fd71a34eb3665c48ea019ff5e (patch) | |
tree | b7c7146c284e0ad6c7ff1299ebf5e1d7bf6503b7 /morph | |
parent | 72ac2db983130cdcf3ccf83fbf6a4040e93d776b (diff) | |
parent | a4da32f5a81c8bc6d660404724cedc3bc0914a75 (diff) | |
download | morph-308d0e324c88777fd71a34eb3665c48ea019ff5e.tar.gz |
Merge branch 'richardmaw/login'
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -88,7 +88,9 @@ class Morph(cliapp.Application): self.msg('Building %s - %s - %s' % (repo, ref, filename)) builder.build(repo, ref, filename) - tempdir.remove() + # we may not have permission to tempdir.remove() + ex = morphlib.execute.Execute('.', lambda msg: None) + ex.runv(["rm", "-rf", tempdir.dirname], as_root=True) if args: raise cliapp.AppException('Extra args on command line: %s' % args) |