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:
Satadru Pramanik, DO, MPH, MEng
2025-06-11 23:32:58 -04:00
committed by GitHub
parent 91466562a8
commit d28c64ceda
2 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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]