File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,19 @@ class Zx < Formula
6
6
license "Apache-2.0"
7
7
8
8
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"
17
11
end
18
12
19
13
depends_on "node"
20
14
21
15
def install
22
16
system "npm" , "install" , *std_npm_args
23
17
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"
24
22
end
25
23
26
24
test do
You can’t perform that action at this time.
0 commit comments