From 6b78cd0e2e4f2dbb09de1e76be42cd593abf7cb6 Mon Sep 17 00:00:00 2001 From: Frans Schreuder <f.schreuder@nikhef.nl> Date: Fri, 26 Nov 2021 11:08:02 +0100 Subject: [PATCH] Fix in script --- scripts/AddLicenseHeaders/AddLicenseHeaders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/AddLicenseHeaders/AddLicenseHeaders.sh b/scripts/AddLicenseHeaders/AddLicenseHeaders.sh index 5489f1e71..f427bf56b 100755 --- a/scripts/AddLicenseHeaders/AddLicenseHeaders.sh +++ b/scripts/AddLicenseHeaders/AddLicenseHeaders.sh @@ -17,7 +17,7 @@ for i in $(find ./sources -name '*.vhd') $(find ./simulation -name '*.vhd'); do else #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" else LIC="--! This file is part of the FELIX firmware distribution (https://gitlab.cern.ch/atlas-tdaq-felix/firmware/). -- GitLab