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

glen glen at pld-linux.org
Sat Oct 27 16:34:32 CEST 2012


commit 0c69e51e697245f44515af4166731ba23dc0544c
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/0cfedb45f97cdfe0542e01e3564e75f60362e1e1



More information about the pld-cvs-commit mailing list