From d28c64cedae5dd7fe637200eb88694efa2f95b5d Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Wed, 11 Jun 2025 23:32:58 -0400 Subject: [PATCH] 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 * Update bin/crew Lint Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: Satadru Pramanik Co-authored-by: Ed Reel Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- bin/crew | 3 --- lib/const.rb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/crew b/bin/crew index 55b2d08236..5b5669b777 100755 --- a/bin/crew +++ b/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 diff --git a/lib/const.rb b/lib/const.rb index 9a794960ec..4e925af593 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -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]