patch-git: Do not require directory names in Lua patches table
RPM 6.0.0 does not put the source directory prefix there anymore. Resolves: RHEL-131835 RPM-Changelog: - RPM-Skip-Release: yes
This commit is contained in:
parent
c1cf02aec4
commit
7361fbbfab
@ -1910,7 +1910,7 @@ if rpm then
|
||||
if patches_log ~= '' then
|
||||
local fp = assert(io.open(patches_log, 'w+'))
|
||||
for i=1,#patches do
|
||||
local pname = assert(string.match(patches[i], '.*/([^/]+)$'))
|
||||
local pname = assert(string.match(patches[i], '([^/]+)$'))
|
||||
fp:write('Patch' .. i .. ': ' .. pname .. '\n')
|
||||
end
|
||||
assert(fp:close())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user