Skip to content
Snippets Groups Projects
Commit e28d92c9 authored by Frans Schreuder's avatar Frans Schreuder
Browse files

Updated script

parent 28c288eb
No related branches found
No related tags found
2 merge requests!309Add license headers,!308Added license headers (Apache v2)
Pipeline #3287313 passed
...@@ -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/).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment