Merge pull request #5023 from sjackman/change-rpath

keg_relocate: Fix Error: wrong number of arguments [Linux]
This commit is contained in:
Shaun Jackman 2018-10-02 15:46:56 -07:00 committed by GitHub
commit 8f74ba0197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class Keg
# Skip ELF files that do not have a .dynstr section.
return if ["cannot find section .dynstr", "strange: no string table"].include?(old_rpath)
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
rpath = old_rpath