Skip to content

Commit

Permalink
mongosh: drop unneeded env_script
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Jul 30, 2024
1 parent d0de7a5 commit 6a386fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/m/mongosh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Mongosh < Formula

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
(bin/"mongosh").write_env_script libexec/"bin/mongosh", PATH: "#{Formula["node"].opt_bin}:$PATH"
bin.install_symlink Dir["#{libexec}/bin/*"]
end

test do
Expand Down

0 comments on commit 6a386fa

Please sign in to comment.