mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
committed by
GitHub
parent
2105c10596
commit
164590a481
2
bin/crew
2
bin/crew
@@ -908,6 +908,8 @@ def fix_interpreter_path(dir)
|
||||
# Decompress the binary if compressed.
|
||||
system "upx -qq -d #{execfiletopatch}", %i[err] => File::NULL, exception: false
|
||||
# Check for existing interpreter.
|
||||
next if CREW_GLIBC_INTERPRETER.blank?
|
||||
|
||||
@interpreter, _read_interpreter_stderr_s, @read_interpreter_status = Open3.capture3("patchelf --print-interpreter #{execfiletopatch}")
|
||||
# Set interpreter unless the interpreter read failed or is already
|
||||
# set appropriately.
|
||||
|
||||
Reference in New Issue
Block a user