buildbot: use /bin/tail in logwatcher.py

This commit is contained in:
davehome 2012-06-28 06:47:37 -06:00
parent aecf6d8a7d
commit 142254a870

View file

@ -1,7 +1,7 @@
# Template file for 'buildbot' # Template file for 'buildbot'
pkgname=buildbot pkgname=buildbot
version=0.8.6p1 version=0.8.6p1
revision=2 revision=3
noarch=yes noarch=yes
build_style=python-module build_style=python-module
fulldepends="python python-jinja sqlalchemy-migrate python-simplejson Twisted" fulldepends="python python-jinja sqlalchemy-migrate python-simplejson Twisted"
@ -25,6 +25,10 @@ long_desc="
lint checks, image size, compile time, and other build parameters can be lint checks, image size, compile time, and other build parameters can be
tracked over time, are more visible, and are therefore easier to improve." tracked over time, are more visible, and are therefore easier to improve."
pre_install() {
sed -i -e "s|usr/bin/tail|bin/tail|g" buildbot/scripts/logwatcher.py
}
post_install() { post_install() {
# Install all contrib modules. # Install all contrib modules.
local contribdir=${DESTDIR}/usr/share/buildbot/contrib local contribdir=${DESTDIR}/usr/share/buildbot/contrib