Skip to content

Commit 67769d4

Browse files
author
Ralph Castain
committed
Update search_compare script
1 parent 60cabb0 commit 67769d4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

contrib/search_compare.pl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2013 Intel, Inc. All rights reserved.
13+
# Copyright (c) 2013-2015 Intel, Inc. All rights reserved.
1414
# $COPYRIGHT$
1515
#
1616
# Additional copyrights may follow
@@ -42,7 +42,7 @@
4242
my $cmd;
4343

4444
sub construct {
45-
# don't process directories or links, and dont' recurse down
45+
# don't process directories or links, and don't recurse down
4646
# "special" directories
4747
if ( -l $_ ) { return; }
4848
if ( -d $_ ) {
@@ -61,7 +61,15 @@ sub construct {
6161
$File::Find::prune = true;
6262
return;
6363
}
64-
if (($_ eq "Makefile") || ($_ eq "Makefile.in") || ($_ eq "config.log") || ($_ eq "config.status")) {
64+
if (($_ =~ /\.pc$/i) || ($_ eq "config.h") || ($_ eq "opal_config.h") || ($_ eq "opalcc-wrapper-data.txt") || ($_ eq "opalc++-wrapper-data.txt")) {
65+
$File::Find::prune = true;
66+
return;
67+
}
68+
if (($_ eq "stamp-h$")) {
69+
$File::Find::prune = true;
70+
return;
71+
}
72+
if (($_ eq "Makefile") || ($_ eq "Makefile.in") || ($_ eq "config.log") || ($_ eq "config.status") || ($_ eq "static-components.h")) {
6573
$File::Find::prune = true;
6674
return;
6775
}

0 commit comments

Comments
 (0)