mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-09 18:54:04 +02:00
Merge branch 'wip/smcv/reuse' into 'main'
reuse: Fix screen-scraping expression for version 2.x See merge request GNOME/glib!3897
This commit is contained in:
@@ -26,9 +26,9 @@ files_without_license_information_max=417
|
|||||||
# output rather than the current human-readable output.
|
# output rather than the current human-readable output.
|
||||||
lint_output="$(reuse lint || true)"
|
lint_output="$(reuse lint || true)"
|
||||||
|
|
||||||
files_with_copyright_information="$(echo "${lint_output}" | awk '/^\* Files with copyright information: / { print $6 }')"
|
files_with_copyright_information="$(echo "${lint_output}" | awk '/^\* [fF]iles with copyright information: / { print $6 }')"
|
||||||
files_with_license_information="$(echo "${lint_output}" | awk '/^\* Files with license information: / { print $6 }')"
|
files_with_license_information="$(echo "${lint_output}" | awk '/^\* [fF]iles with license information: / { print $6 }')"
|
||||||
total_files="$(echo "${lint_output}" | awk '/^\* Files with copyright information: / { print $8 }')"
|
total_files="$(echo "${lint_output}" | awk '/^\* [fF]iles with copyright information: / { print $8 }')"
|
||||||
error=0
|
error=0
|
||||||
|
|
||||||
files_without_copyright_information="$(( total_files - files_with_copyright_information ))"
|
files_without_copyright_information="$(( total_files - files_with_copyright_information ))"
|
||||||
|
Reference in New Issue
Block a user