[Intel-gfx] [maintainer-tools PATCH 3/4] dim: Fix shellcheck SC2153
Jani Nikula
jani.nikula at intel.com
Thu Aug 10 14:08:15 UTC 2017
The fix is a bit artificial, but mute the warning.
Fixes: 809748225c4e ("dim: Add add-missing-cc command")
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
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 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
More information about the Intel-gfx
mailing list