Merged in jessicah/haikuports/buildbot-slave (pull request #189)

buildbot_slave: fix path to tail.
This commit is contained in:
Oliver Tappe
2014-06-22 23:26:15 +02:00
2 changed files with 23 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ executing builds and/or tests.
HOMEPAGE="http://www.buildbot.net"
SRC_URI="https://buildbot.googlecode.com/files/buildbot-slave-0.8.8.tar.gz"
CHECKSUM_SHA256="8b7532d4d34527aea41e353d1bc3c35291ec335d3224c27800d2cc0cfc9837cc"
PATCHES="buildbot_slave-0.8.8.patchset"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Bryan Warner and the Buildbot team members"
REVISION="1"

View File

@@ -0,0 +1,22 @@
From 339c07d8cef40e19d98a915ecc06929c097865fc Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Date: Fri, 20 Jun 2014 04:58:54 +0000
Subject: logwatcher.py: fix path to tail on Haiku
diff --git a/buildslave/scripts/logwatcher.py b/buildslave/scripts/logwatcher.py
index ff3e119..fb20aba 100644
--- a/buildslave/scripts/logwatcher.py
+++ b/buildslave/scripts/logwatcher.py
@@ -62,7 +62,7 @@ class LogWatcher(LineOnlyReceiver):
# been seen within 10 seconds, and with ReconfigError if the error
# line was seen. If the logfile could not be opened, it errbacks with
# an IOError.
- self.p = reactor.spawnProcess(self.pp, "/usr/bin/tail",
+ self.p = reactor.spawnProcess(self.pp, "/bin/tail",
("tail", "-f", "-n", "0", self.logfile),
env=os.environ,
)
--
1.8.3.4