infra: Detect no changes.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-02-05 22:19:59 +11:00
parent d144c9d2c8
commit c3f6ba5c7c
1 changed files with 1 additions and 1 deletions

View File

@ -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 "----------------------------------------"