mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04: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)"
|
version="$(get_spec version)"
|
||||||
license_csv="$(get_spec license_csv)"
|
license_csv="$(get_spec license_csv)"
|
||||||
## Ideally we would query the license, but it is a heavy call.
|
## 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)"
|
vendor="$(get_spec vendor)"
|
||||||
packager="$(get_spec packager)"
|
packager="$(get_spec packager)"
|
||||||
url="$(get_spec url)"
|
url="$(get_spec url)"
|
||||||
|
@ -90,7 +90,7 @@ if test "${key}" = "license" || test "${key}" = "license_csv"; then
|
|||||||
license_csv="$(reuse --root "${project_dir}" lint |
|
license_csv="$(reuse --root "${project_dir}" lint |
|
||||||
awk -F ':' '/^\* Used licenses:/{print $2}' | tr " " "\n" | sort -d |
|
awk -F ':' '/^\* Used licenses:/{print $2}' | tr " " "\n" | sort -d |
|
||||||
tr -s "\n" " " | tr -d " ")"
|
tr -s "\n" " " | tr -d " ")"
|
||||||
license="$(echo "${license_csv}" | sed "s/,/ AND /g")"
|
license="$(echo "${license_csv}" | sed "s/\,/ AND /g")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## The macro %autochangelog prints logs of all projects and we separate a
|
## The macro %autochangelog prints logs of all projects and we separate a
|
||||||
|
Loading…
Reference in New Issue
Block a user