mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 07:28:01 -05:00
Fix path for files passed to patchelf to set our glibc interpreter. (#12028)
* Fix path for files passed to patchelf to set our glibc interpreter. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update bin/crew Lint Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
91466562a8
commit
d28c64ceda
3
bin/crew
3
bin/crew
@@ -916,9 +916,6 @@ def expand_binaries_and_fix_interpreter_path(dir)
|
||||
next unless File.file?(execfiletopatch)
|
||||
|
||||
pool.post do
|
||||
execfile.slice! '.'
|
||||
File.join(dir, execfiletopatch)
|
||||
|
||||
# Decompress the binary if compressed.
|
||||
system "upx -qq -d #{execfiletopatch}", %i[err] => File::NULL, exception: false
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ require 'etc'
|
||||
require 'open3'
|
||||
|
||||
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
|
||||
CREW_VERSION ||= '1.61.8' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
CREW_VERSION ||= '1.61.9' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
|
||||
# Kernel architecture.
|
||||
KERN_ARCH ||= Etc.uname[:machine]
|
||||
|
||||
Reference in New Issue
Block a user