[Intel-gfx] [maintainer-tools PATCH 4/7] dim: merge string substitutions
Eric Engestrom
eric.engestrom at imgtec.com
Wed Aug 9 11:10:58 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
dim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dim b/dim
index a656afa0d255..4ffac497c621 100755
--- a/dim
+++ b/dim
@@ -1965,7 +1965,7 @@ function email_get_address
function email_get_name
{
- echo ${cc/<*/} | sed -e 's/[[:space:]]*$//' <<< "$1"
+ sed -e 's/[[:space:]]*<.*$//' <<< "$1"
}
function dim_add_missing_cc
--
Cheers,
Eric
More information about the Intel-gfx
mailing list