From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liang Ma Subject: [PATCH] devtools/check-symbol-changes.sh: awk script issue Date: Thu, 4 Oct 2018 16:18:16 +0100 Message-ID: <1538666296-25742-1-git-send-email-liang.j.ma@intel.com> Cc: dev@dpdk.org, Liang Ma To: nhorman@tuxdriver.com Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 875161B4F3 for ; Thu, 4 Oct 2018 17:19:14 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" There is a issue inside check-symbol-changes.sh awk script. When the script try to parse the section name from patch, The script put char "+" into the section name. Signed-off-by: Liang Ma --- devtools/check-symbol-change.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh index c0d2a6d..4a0f4d8 100755 --- a/devtools/check-symbol-change.sh +++ b/devtools/check-symbol-change.sh @@ -30,7 +30,7 @@ build_map_changes() # the rest of the line with the + and { symbols remvoed. # Triggering this rule sets in_sec to 1, which actives the # symbol rule below - /^.*{/ { + /^[^-+]*{/ { if (in_map == 1) { sec=$(NF-1); in_sec=1; } -- 2.7.5