X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/e79a920cadeaacdf871e1a10ef48d33c4d97cb02..82e0ab64d4d8c449f8239a66ad42b39734c5d351:/test.sh?ds=inline diff --git a/test.sh b/test.sh index 81e0c66..942c65c 100755 --- a/test.sh +++ b/test.sh @@ -24,7 +24,7 @@ if [ "$1" = lint ];then find . -name '*.py' -print0 | xargs -P "$PARALLELISM" -0 -n1 autopep8 --diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ) - if [[ "$formatting_needs_fixing" ]];then + if [ -n "$formatting_needs_fixing" ];then echo "Formatting needs fixing:" echo "$formatting_needs_fixing" exit 1