[maintainer-tools PATCH 3/4] dim: Fix shellcheck SC2153

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The fix is a bit artificial, but mute the warning.

Fixes: 809748225c4e ("dim: Add add-missing-cc command")
Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 070b199c699b..f614533c5b09 100755
--- a/dim
+++ b/dim
@@ -350,7 +350,7 @@ function git_branch_exists # branch
 function git_committer_email
 {
 	if ! committer_email=$(git config --get user.email) ; then
-		committer_email=$EMAIL
+		committer_email=${EMAIL-}
 	fi
 
 	echo $committer_email
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux