diff --git a/scripts/AddLicenseHeaders/AddLicenseHeaders.sh b/scripts/AddLicenseHeaders/AddLicenseHeaders.sh
index 5489f1e71822d3ff4d875ada175402440309be01..f427bf56b3ba95b6cb3a3d7cd5622e79804340a9 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/).