Skip to content
Snippets Groups Projects
Commit 007002ad authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew.rb: don't exit when failing to set devcmdrun.

It's not necessary to make this a hard failure so don't (and this makes
it more consistent with `brew.sh`).

Fixes #1462.
parent c0918822
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,8 @@ begin
unless internal_cmd
internal_cmd = require? HOMEBREW_LIBRARY_PATH.join("dev-cmd", cmd)
if internal_cmd && !ARGV.homebrew_developer?
safe_system "git", "config", "--file=#{HOMEBREW_REPOSITORY}/.git/config",
"--replace-all", "homebrew.devcmdrun", "true"
system "git", "config", "--file=#{HOMEBREW_REPOSITORY}/.git/config",
"--replace-all", "homebrew.devcmdrun", "true"
ENV["HOMEBREW_DEV_CMD_RUN"] = "1"
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment