From e304089c3e8390dc7020d33c531f211167bc0907 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 10 Nov 2015 12:55:13 -0500 Subject: [PATCH] grep it --- bin/warnings | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/warnings b/bin/warnings index b50b7919..0a8aad0f 100755 --- a/bin/warnings +++ b/bin/warnings @@ -1,7 +1,9 @@ shopt -s extglob pylibmc-missing() { - puts-warn "pylibmc is missing." + if grep -qi 'fatal error: libmemcached/memcached.h: No such file or directory' "$WARNINGS_LOG"; then + puts-warn "pylibmc is missing." + fi } show-warnings() { -- GitLab