Merge pull request #5023 from sjackman/change-rpath
keg_relocate: Fix Error: wrong number of arguments [Linux]
This commit is contained in:
commit
8f74ba0197
@ -21,7 +21,7 @@ class Keg
|
|||||||
# Skip ELF files that do not have a .dynstr section.
|
# Skip ELF files that do not have a .dynstr section.
|
||||||
return if ["cannot find section .dynstr", "strange: no string table"].include?(old_rpath)
|
return if ["cannot find section .dynstr", "strange: no string table"].include?(old_rpath)
|
||||||
unless $CHILD_STATUS.success?
|
unless $CHILD_STATUS.success?
|
||||||
raise ErrorDuringExecution.new(cmd_rpath, status: $CHILD_STATUS, output: [:stdout, old_rpath])
|
raise ErrorDuringExecution.new(cmd_rpath, status: $CHILD_STATUS, output: [[:stderr, old_rpath]])
|
||||||
end
|
end
|
||||||
|
|
||||||
rpath = old_rpath
|
rpath = old_rpath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user