Skip to content

Commit fc519a3

Browse files
authored
Merge pull request Homebrew#182579 from Homebrew/zx-all
zx: make bottles uniform
2 parents 1c789a3 + b947c75 commit fc519a3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Formula/z/zx.rb

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@ class Zx < Formula
66
license "Apache-2.0"
77

88
bottle do
9-
rebuild 1
10-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
11-
sha256 cellar: :any_skip_relocation, arm64_ventura: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
12-
sha256 cellar: :any_skip_relocation, arm64_monterey: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
13-
sha256 cellar: :any_skip_relocation, sonoma: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
14-
sha256 cellar: :any_skip_relocation, ventura: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
15-
sha256 cellar: :any_skip_relocation, monterey: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "c9b3a8e018f04112082fd0c0440304648cdba4d3f64bfc2cc1a3f5c53fcea71f"
9+
rebuild 2
10+
sha256 cellar: :any_skip_relocation, all: "3cbc1055efd0b053b9d83760d3fe209894a2546a1031c757198a88a70ead82ad"
1711
end
1812

1913
depends_on "node"
2014

2115
def install
2216
system "npm", "install", *std_npm_args
2317
bin.install_symlink Dir["#{libexec}/bin/*"]
18+
19+
# Make the bottles uniform
20+
inreplace_file = libexec/"lib/node_modules/zx/node_modules/@types/node/process.d.ts"
21+
inreplace inreplace_file, "/usr/local/bin", "#{HOMEBREW_PREFIX}/bin"
2422
end
2523

2624
test do

0 commit comments

Comments
 (0)