Skip to content

Commit

Permalink
properly run fix-machos.rb in deno.command
Browse files Browse the repository at this point in the history
  • Loading branch information
j1philli committed Oct 19, 2023
1 parent a115139 commit d46133e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libexec/fixup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
],
Expand Down

0 comments on commit d46133e

Please sign in to comment.