We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6290bd9 commit 2f65102Copy full SHA for 2f65102
Formula/b2c-cli.rb
@@ -14,7 +14,11 @@ class B2cCli < Formula
14
15
def install
16
system "npm", "install", *std_npm_args
17
- bin.install_symlink libexec.glob("bin/*")
+
18
+ # Create wrapper script that sets OCLIF client home for proper auto-update support
19
+ # This prevents oclif from trying to update to a non-brew location
20
+ (bin/"b2c").write_env_script libexec/"bin/b2c",
21
+ B2C_OCLIF_CLIENT_HOME: lib/"client"
22
end
23
24
test do
0 commit comments