diff --git a/buildscripts/check-diff.sh b/buildscripts/check-diff.sh index bf54916..fd4e4e0 100755 --- a/buildscripts/check-diff.sh +++ b/buildscripts/check-diff.sh @@ -21,6 +21,6 @@ set -e TEST_NAME=$1 -if [[ `git diff --shortstat | wc -l` != 0 ]]; then +if [[ `git diff --shortstat | wc -l | tr -d ' '` != 0 ]]; then echo "Some files got changed after $1";printf "\n";git --no-pager diff;printf "\n"; exit 1; fi