[projects/pld-builder.new/new-builddir-new: 16/21] no need to clean tmpdir separately

draenog draenog at pld-linux.org
Mon Oct 29 11:58:20 CET 2012


commit cc6a3f437fcf29b6e179cb916085f91f56bee876
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Oct 27 16:28:36 2012 +0200

    no need to clean tmpdir separately

 PLD_Builder/install.py | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/PLD_Builder/install.py b/PLD_Builder/install.py
index 6cc8edc..b0fb1bf 100644
--- a/PLD_Builder/install.py
+++ b/PLD_Builder/install.py
@@ -118,10 +118,8 @@ def uninstall_self_conflict(b):
             conflicting[m.group('name')] = 1
     f.close()
     if len(conflicting) and not uninstall(conflicting, b):
-        chroot.run("rm -rf %s" % tmpdir)
         return False
     b.log_line("no BuildConflicts found")
-    chroot.run("rm -rf %s" % tmpdir)
     return True
 
 def install_br(r, b):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/6fbf8d5befabd83f4260bf17d230d8b32ec42ec2



More information about the pld-cvs-commit mailing list