From 82ed7b6b0847b292b64e0f4fa3f0cb1c83e17126 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Fri, 18 Nov 2016 06:59:53 +0100 Subject: [PATCH] Fix so shell script adheres to posix standards. (#4439) --- script/lint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "================================================="