phase1: fix issues in previous commit
[buildbot.git] / phase1 / master.cfg
index 1389ae5216c227328f7c1e6c0919dcce6939c136..099f66653436b3fde4ed3178b5bfba4a344f8046 100644 (file)
@@ -279,13 +279,13 @@ for target in targets:
        if tree_expire > 0:
                factory.addStep(FileDownload(
                        mastersrc = "expire.sh",
-                       slavedest = "expire.sh",
+                       slavedest = "../expire.sh",
                        mode = 0755))
 
                factory.addStep(ShellCommand(
                        name = "expire",
                        description = "Checking for build tree expiry",
-                       command = ["./expire.sh", tree_expire],
+                       command = ["./expire.sh", str(tree_expire)],
                        workdir = ".",
                        haltOnFailure = True,
                        timeout = 2400))