mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-02 06:16:18 -04:00
build: dictionary sort licenses names
GHA can sort differently than local.
This commit is contained in:
parent
0f6aa34a89
commit
f30e5e11a9
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ fi
|
|||
|
||||
if test "${key}" = "license" || test "${key}" = "license_csv"; then
|
||||
license_csv="$(reuse --root "${project_dir}" lint |
|
||||
awk -F ':' '/^* Used licenses:/{print $2}' | tr -d " ")"
|
||||
awk -F ':' '/^\* Used licenses:/{print $2}' | tr " " "\n" | sort -d |
|
||||
tr -s "\n" " " | tr -d " ")"
|
||||
license="$(echo "${license_csv}" | sed "s/,/ AND /g")"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue