diff --git a/script/lint b/script/lint index ea8d84e7b84..2c3739c5c13 100755 --- a/script/lint +++ b/script/lint @@ -3,8 +3,8 @@ # NOTE: all testing is now driven through tox. The tox command below # performs roughly what this test did in the past. -if [ "$1" == "--changed" ]; then - export files=`git diff upstream/dev --name-only | grep -v requirements_all.txt` +if [ "$1" = "--changed" ]; then + export files="`git diff upstream/dev --name-only | grep -v requirements_all.txt`" echo "=================================================" echo "FILES CHANGED (git diff upstream/dev --name-only)" echo "================================================="