[Buildbot-commits] buildbot/buildbot/slave commands.py,1.95,1.96

Brian Warner warner at users.sourceforge.net
Tue Apr 29 20:21:38 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/slave
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30793/buildbot/slave

Modified Files:
	commands.py 
Log Message:
[project @ for source mode=copy, use cp -RPp instead of cp -r. Closes #86]

Original author: warner at lothar.com
Date: 2008-04-29 16:31:20+00:00

Index: commands.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/slave/commands.py,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- commands.py	22 Mar 2008 22:50:34 -0000	1.95
+++ commands.py	29 Apr 2008 20:21:36 -0000	1.96
@@ -1391,7 +1391,7 @@
         if runtime.platformType != "posix":
             shutil.copytree(fromdir, todir)
             return defer.succeed(0)
-        command = ['cp', '-r', '-p', fromdir, todir]
+        command = ['cp', '-R', '-P', '-p', fromdir, todir]
         c = ShellCommand(self.builder, command, self.builder.basedir,
                          sendRC=False, timeout=self.timeout)
         self.command = c





More information about the Commits mailing list