From 30ac9f70cd49be38b09470fc967b0b06a2cce068 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 18 Jun 2014 13:10:32 -0500 Subject: [PATCH] * usr/bin/ctail: - use command -v to test for ccze existence --- debian/changelog | 2 ++ usr/bin/ctail | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c2ef1dd7..23bdd56e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ byobu (5.81) unreleased; urgency=medium - super handy, minimal way of awking out a particular column * usr/bin/Makefile.am, usr/share/man/man1/Makefile.am: - update automake files to install new utilities + * usr/bin/ctail: + - use command -v to test for ccze existence -- Dustin Kirkland Mon, 28 Apr 2014 09:36:59 -0700 diff --git a/usr/bin/ctail b/usr/bin/ctail index 8c26d9b8..ed95343b 100755 --- a/usr/bin/ctail +++ b/usr/bin/ctail @@ -19,7 +19,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if $BYOBU_TEST ccze -A >/dev/null 2>&1; then +if command -v ccze >/dev/null 2>&1; then tail -F $@ | ccze -A else echo "ERROR: ccze not found, hint..." 1>&2