Skip to content

Commit 360362b

Browse files
committed
zx: make bottles uniform
1 parent c3cab68 commit 360362b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Formula/z/zx.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class Zx < Formula
2121
def install
2222
system "npm", "install", *std_npm_args
2323
bin.install_symlink Dir["#{libexec}/bin/*"]
24+
25+
# Make the bottles uniform
26+
inreplace_file = libexec/"lib/node_modules/zx/node_modules/@types/node/process.d.ts"
27+
inreplace inreplace_file, "/usr/local/bin", "#{HOMEBREW_PREFIX}/bin"
2428
end
2529

2630
test do

0 commit comments

Comments
 (0)