summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:29:41 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:29:41 -0600
commitf694de64648cca4dc979b99ec8d323c6abbba1ae (patch)
tree63358426c5e8e66661da93b93396db4a170a054a /src/build/tools
parent548a746856d6095fd4585253893d78b74205f926 (diff)
downloadtalos-hostboot-f694de64648cca4dc979b99ec8d323c6abbba1ae.tar.gz
talos-hostboot-f694de64648cca4dc979b99ec8d323c6abbba1ae.zip
Stop copyright script from running against mirrored files
Change-Id: Ie7bd8d86d0d0c9a67be2809712f151a3678db7b3
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/addCopyright.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/build/tools/addCopyright.pl b/src/build/tools/addCopyright.pl
index 28daba911..76ba1a90a 100755
--- a/src/build/tools/addCopyright.pl
+++ b/src/build/tools/addCopyright.pl
@@ -285,6 +285,18 @@ foreach ( @Files )
}
##
+ ## We do not want to modify the prologs of files mirrored from EKB
+ ## Eventually we will enhance to allow different prologs, but at the time
+ ## this breaks the mirror tool.
+ if (m/^src\/import/)
+ {
+ print STDOUT "---------------------------------------------------------\n";
+ print STDOUT "Skipping file mirrored from EKB: $_\n";
+ print STDOUT "---------------------------------------------------------\n";
+ next;
+ }
+
+ ##
## Check if any parent directory below $projectRoot has a LICENSE_PROLOG file
## Backtrack from the directory where the file lives and find the first
## custom LICENSE_PROLOG file.
OpenPOWER on IntegriCloud