mirror of
https://github.com/friendica/friendica-docker-ci
synced 2024-11-25 16:50:51 +01:00
Fix license-check
This commit is contained in:
parent
5c35459a18
commit
29638f2f40
|
@ -16,6 +16,9 @@ exitVal=0
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
for file in "${files[@]}"; do
|
for file in "${files[@]}"; do
|
||||||
|
if [ ! -f "$file" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
php_license_md5=$(head -n "$php_template_rows" "$file" | md5sum)
|
php_license_md5=$(head -n "$php_template_rows" "$file" | md5sum)
|
||||||
[[ "$php_template_md5" != "$php_license_md5" ]] && printf " - %s\n" "$file" && exitVal=1
|
[[ "$php_template_md5" != "$php_license_md5" ]] && printf " - %s\n" "$file" && exitVal=1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue