From 3c29316ea72bf0a967c00a36ab50bbf402b82e29 Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Thu, 27 Jun 2013 13:17:42 -0500 Subject: fix minor bug that would incorrectly drop files as redundant. Change-Id: Ic45b4c362e45dcbf7ac30a0c8fb0e367a69fdecc RTC: 76585 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5223 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES Reviewed-by: Corey V. Swenson Reviewed-by: A. Patrick Williams III --- src/build/tools/hwp_id.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build/tools/hwp_id.pl') diff --git a/src/build/tools/hwp_id.pl b/src/build/tools/hwp_id.pl index 03743a3ea..c6284dd9e 100755 --- a/src/build/tools/hwp_id.pl +++ b/src/build/tools/hwp_id.pl @@ -359,7 +359,7 @@ sub findIdVersion { $display_name = $fn; } - $redundant = grep { m/$fn/ } @foundFn; + $redundant = grep { m/^$fn$/ } @foundFn; if ( !$redundant ) { push( @foundFn, $display_name ); -- cgit v1.2.1