Exclude "strings.php" from license check

This commit is contained in:
Philipp Holzer 2022-01-22 19:32:54 +01:00
parent 29638f2f40
commit 367884e91e
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -16,7 +16,7 @@ exitVal=0
printf "\n"
for file in "${files[@]}"; do
if [ ! -f "$file" ]; then
if [ ! -f "$file" ] || [[ "$file" == *strings.php ]]; then
continue
fi
php_license_md5=$(head -n "$php_template_rows" "$file" | md5sum)