mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-23 14:39:23 -05:00
ci: escape special sed character
This commit is contained in:
parent
f30e5e11a9
commit
6e6c7b452f
@ -72,7 +72,7 @@ gen_spec(){
|
||||
version="$(get_spec version)"
|
||||
license_csv="$(get_spec license_csv)"
|
||||
## Ideally we would query the license, but it is a heavy call.
|
||||
license="$(echo "${license_csv}" | sed "s/,/ AND /g")"
|
||||
license="$(echo "${license_csv}" | sed "s/\,/ AND /g")"
|
||||
vendor="$(get_spec vendor)"
|
||||
packager="$(get_spec packager)"
|
||||
url="$(get_spec url)"
|
||||
|
@ -90,7 +90,7 @@ if test "${key}" = "license" || test "${key}" = "license_csv"; then
|
||||
license_csv="$(reuse --root "${project_dir}" lint |
|
||||
awk -F ':' '/^\* Used licenses:/{print $2}' | tr " " "\n" | sort -d |
|
||||
tr -s "\n" " " | tr -d " ")"
|
||||
license="$(echo "${license_csv}" | sed "s/,/ AND /g")"
|
||||
license="$(echo "${license_csv}" | sed "s/\,/ AND /g")"
|
||||
fi
|
||||
|
||||
## The macro %autochangelog prints logs of all projects and we separate a
|
||||
|
Loading…
Reference in New Issue
Block a user