From 3f25fef9ac75dd5b82e1a6a9111073f8d5f051bc Mon Sep 17 00:00:00 2001 From: Jianxiong Pan Date: Thu, 18 Oct 2018 14:23:50 +0800 Subject: [PATCH] script: add new check rules in merge_pre_check.pl [1/1] PD#174488 Problem: add some new rules Solution: expand the scope of check Verify: p212 Change-Id: Ica28adb7ddb43e39cd4570e0338dbd59ec6a42f3 Signed-off-by: Jianxiong Pan --- scripts/amlogic/merge_pre_check.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/amlogic/merge_pre_check.pl b/scripts/amlogic/merge_pre_check.pl index 3b3358f..b7a5d298 100755 --- a/scripts/amlogic/merge_pre_check.pl +++ b/scripts/amlogic/merge_pre_check.pl @@ -223,7 +223,7 @@ sub check_msg_314 if( $lnum == 5 ) { - if ($line !~ /^(\s){4}PD\#(\w)+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/) + if ($line !~ /^(\s){4}PD\#.+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/) { $err_cnt += 1; $line =~ s/^(\s){4}//; -- 2.7.4