Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas-tdaq-felix
firmware
Commits
e28d92c9
Commit
e28d92c9
authored
3 years ago
by
Frans Schreuder
Browse files
Options
Downloads
Patches
Plain Diff
Updated script
parent
28c288eb
No related branches found
No related tags found
2 merge requests
!309
Add license headers
,
!308
Added license headers (Apache v2)
Pipeline
#3287313
passed
3 years ago
Stage: sim
Stage: build_full
Stage: build_gbt_8ch
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/AddLicenseHeaders/AddLicenseHeaders.sh
+1
-1
1 addition, 1 deletion
scripts/AddLicenseHeaders/AddLicenseHeaders.sh
with
1 addition
and
1 deletion
scripts/AddLicenseHeaders/AddLicenseHeaders.sh
+
1
−
1
View file @
e28d92c9
...
@@ -17,7 +17,7 @@ for i in $(find ./sources -name '*.vhd') $(find ./simulation -name '*.vhd'); do
...
@@ -17,7 +17,7 @@ for i in $(find ./sources -name '*.vhd') $(find ./simulation -name '*.vhd'); do
else
else
#perl -MHardware::Vhdl::Tidy -e "Hardware::Vhdl::Tidy::parse_commandline" $i > $i.tmp && mv $i.tmp $i
#perl -MHardware::Vhdl::Tidy -e "Hardware::Vhdl::Tidy::parse_commandline" $i > $i.tmp && mv $i.tmp $i
if
head
-20
"
$i
"
|
grep
-q
"Licensed
to
the Apache
Software Foundation (ASF)
"
;
then
if
head
-20
"
$i
"
|
grep
-q
"Licensed
under
the Apache
License
"
;
then
echo
"
$i
already contains a license"
echo
"
$i
already contains a license"
else
else
LIC
=
"--! This file is part of the FELIX firmware distribution (https://gitlab.cern.ch/atlas-tdaq-felix/firmware/).
LIC
=
"--! This file is part of the FELIX firmware distribution (https://gitlab.cern.ch/atlas-tdaq-felix/firmware/).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment