From c3f6ba5c7ca7404d11aa17749f96119d021f99a7 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Tue, 5 Feb 2019 22:19:59 +1100 Subject: [PATCH] infra: Detect no changes. Signed-off-by: Tim 'mithro' Ansell --- .github/kokoro/db-full.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/kokoro/db-full.sh b/.github/kokoro/db-full.sh index d8168bda..7b0b0a79 100755 --- a/.github/kokoro/db-full.sh +++ b/.github/kokoro/db-full.sh @@ -53,7 +53,7 @@ echo "----------------------------------------" echo "----------------------------------------" # Check there is nothing to do after running... - if [ $(make --dry-run | wc -l) -gt 0 ]; then + if [ $(make --dry-run | grep -v 'Nothing to be done' | wc -l) -gt 0 ]; then echo "The following targets need to still run!" make --dry-run echo "----------------------------------------"