From d46133e40235003dcb24c8936e9c842b0b8766b2 Mon Sep 17 00:00:00 2001 From: j1philli Date: Thu, 19 Oct 2023 11:05:03 -0600 Subject: [PATCH] properly run fix-machos.rb in deno.command --- libexec/fixup.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libexec/fixup.ts b/libexec/fixup.ts index 0bc106a9..aa0dacca 100755 --- a/libexec/fixup.ts +++ b/libexec/fixup.ts @@ -20,9 +20,8 @@ const pkg_prefix = new Path(unknown[0]) switch (host().platform) { case 'darwin': { - const { output } = new Deno.Command(Deno.execPath(), { + const { output } = new Deno.Command('fix-machos.rb', { args: [ - 'fix-machos.rb', pkg_prefix.string, ...['bin', 'sbin', 'tbin', 'lib', 'libexec'].compact(x => pkg_prefix.join(x).isDirectory()?.string) ],