diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 17:29:41 -0600 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 17:29:41 -0600 |
commit | f694de64648cca4dc979b99ec8d323c6abbba1ae (patch) | |
tree | 63358426c5e8e66661da93b93396db4a170a054a /src/build/tools/addCopyright.pl | |
parent | 548a746856d6095fd4585253893d78b74205f926 (diff) | |
download | blackbird-hostboot-f694de64648cca4dc979b99ec8d323c6abbba1ae.tar.gz blackbird-hostboot-f694de64648cca4dc979b99ec8d323c6abbba1ae.zip |
Stop copyright script from running against mirrored files
Change-Id: Ie7bd8d86d0d0c9a67be2809712f151a3678db7b3
Diffstat (limited to 'src/build/tools/addCopyright.pl')
-rwxr-xr-x | src/build/tools/addCopyright.pl | 12 |
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. |