[Intel-gfx] [maintainer-tools PATCH 4/4] dim: Fix shellcheck SC2053

Jani Nikula jani.nikula at intel.com
Thu Aug 10 14:08:16 UTC 2017


Fixes: 3cb0514bf1ca ("dim: add checks for author and committer sign-off-by")
Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index f614533c5b09..2b377cb3a3f3 100755
--- a/dim
+++ b/dim
@@ -685,7 +685,7 @@ function checkpatch_commit_push
 	fi
 
 	# check for committer != author
-	if [[ $committer  != $author ]]; then
+	if [[ "$committer" != "$author" ]]; then
 		return
 	fi
 
-- 
2.11.0



More information about the Intel-gfx mailing list