pld-builder.new: PLD_Builder/chroot.py Use comand_sh which doesn't...

arekm arekm at pld-linux.org
Sun Feb 25 14:31:37 CET 2007


Author: arekm                        Date: Sun Feb 25 13:31:37 2007 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Use comand_sh which doesn't use su (as su closes file descriptors which breaks things for us).

---- Files affected:
pld-builder.new/PLD_Builder:
   chroot.py (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/chroot.py
diff -u pld-builder.new/PLD_Builder/chroot.py:1.20 pld-builder.new/PLD_Builder/chroot.py:1.21
--- pld-builder.new/PLD_Builder/chroot.py:1.20	Sun Feb 25 14:23:33 2007
+++ pld-builder.new/PLD_Builder/chroot.py	Sun Feb 25 14:31:32 2007
@@ -45,7 +45,7 @@
     cmd = "cat %s >&%d" % (file, fileno)
     if rm:
         cmd += "; rm %s" % file
-    c = command(cmd, user)
+    c = command_sh(cmd, user)
     subprocess.call(c, shell = True, close_fds = False)
     r = f.close()
     if r == None:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-builder.new/PLD_Builder/chroot.py?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list