mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
Merged in jessicah/haikuports/buildbot-slave (pull request #189)
buildbot_slave: fix path to tail.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user