From 7fdc85a5d23f34e54078eb02e116cc6afc79efa4 Mon Sep 17 00:00:00 2001
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Tue, 5 Mar 2019 19:54:48 +0100
Subject: scripts/peripelist_conv: always add assignee field

Fall back to 'TBD' if there is no assignment yet.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 scripts/peripelist_conv | 1 +
 1 file changed, 1 insertion(+)

(limited to 'scripts')

diff --git a/scripts/peripelist_conv b/scripts/peripelist_conv
index 5626a6e..8610680 100755
--- a/scripts/peripelist_conv
+++ b/scripts/peripelist_conv
@@ -24,6 +24,7 @@ awk -F, -v team="$GRP" -v dst="$DST" -v cmd="$uuid_cmd" '
 			print "team: " team >> F
 			print "key: " uuid >> F
 			if ($4 != "?") print "assignee: " toupper(substr($4, 1, 1)) tolower(substr($4, 2)) >> F
+				else print "assignee: TBD" >> F
 			print "status: " status[$3] >> F
 			if ($2 != "?") print "target-date: " ($2 in date ? date[$2] : $2) >> F
 			print "" >> F
-- 
cgit v1.2.3