Merge pull request #1466 from MikeMcQuaid/brew-rb-no-devcmdrun-fail
brew.rb: don't exit when failing to set devcmdrun.
This commit is contained in:
commit
9889007099
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user