From 89cb9947298e26427e146a532822d3630327c0ae Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 29 Apr 2020 16:37:25 +0200 Subject: [PATCH] bin/update: Fix change detection --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update b/bin/update index 16fd46e8..27eaf45f 100755 --- a/bin/update +++ b/bin/update @@ -96,7 +96,7 @@ git diff -U0 \ | grep -qv -e '."Project-Id-Version:' -e '."POT-Creation-Date:' \ || CHANGES=0 -if [ ! $CHANGES ]; then +if [ $CHANGES -eq 0 ]; then echo "No new messages found."; git checkout icinga.pot; else