[pypy-commit] buildbot issue-1759: fix for linux

mattip noreply at buildbot.pypy.org
Thu Feb 12 21:12:14 CET 2015


Author: mattip <matti.picus at gmail.com>
Branch: issue-1759
Changeset: r933:ca41205fb092
Date: 2015-02-12 22:12 +0200
http://bitbucket.org/pypy/buildbot/changeset/ca41205fb092/

Log:	fix for linux

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -399,7 +399,7 @@
                    '/D', '-' + nDays, '/c', "cmd /c rmdir /q /s @path"]
     else:
         command = ['find', Interpolate(tmp_or_crazy + pytest), '-mtime',
-                   '+' + nDays, '-exec', 'rm', "'{}'", "';'"] 
+                   '+' + nDays, '-exec', 'rm', '{}', ';'] 
     factory.addStep(PytestCmd(
         description="cleanout old test files",
         command = command,
@@ -498,7 +498,7 @@
                        '/D', '-' + nDays, '/c', "cmd /c rmdir /q /s @path"]
         else:
             command = ['find', Interpolate(tmp_or_crazy + pytest), '-mtime',
-                       '+' + nDays, '-exec', 'rm', "'{}'", "';'"] 
+                       '+' + nDays, '-exec', 'rm', '{}', ';'] 
         self.addStep(PytestCmd(
             description="cleanout old test files",
             command = command,


More information about the pypy-commit mailing list