[Rpm-maint] [rpm-software-management/rpm] Properly quote %sources and %patches (#1781)
Panu Matilainen
notifications at github.com
Thu Feb 10 14:21:30 UTC 2022
@pmatilai commented on this pull request.
> @@ -1259,7 +1261,7 @@ end
for i, a in ipairs(arg) do
local p = bynum[tonumber(a)]
if p then
- print(rpm.expand("%__apply_patch -m %{basename:"..p.."} "..options..p.." "..i.."\\n"))
+ print(rpm.expand("%__apply_patch -m %{shescape:%{basename:"..p.."}} "..options..p.." "..i.."\\n"))
(a testcase would help catching such details...)
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1781#discussion_r803723291
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1781/review/878908683 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220210/dd31b00d/attachment.html>
More information about the Rpm-maint
mailing list