mirror of
https://passt.top/passt
synced 2025-02-22 02:42:22 +00:00
fedora: Escape % characters in spec file's changelog
...rpmbuild otherwise expands valid macro names in changelog entries. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
e5e10aff81
commit
e2cae8f1c3
@ -36,7 +36,7 @@ function passt_git_changelog_entry {
|
||||
IFS='
|
||||
'
|
||||
for l in $(git log ${__from}..${__to} --pretty=format:"- %s" -- contrib/fedora); do
|
||||
printf "%s%s\n" '-' "${l#*:}"
|
||||
printf "%s%s\n" '-' "${l#*:}" | sed s/%/%%/g
|
||||
done
|
||||
unset IFS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user