Merge pull request #9522 from sjackman/sj/patchelf-rb-write
Enable HOMEBREW_PATCHELF_RB_WRITE by default
This commit is contained in:
commit
3d56d1b7e6
@ -3,11 +3,8 @@
|
|||||||
|
|
||||||
require "env_config"
|
require "env_config"
|
||||||
|
|
||||||
# Enables experimental `patchelf.rb` write support.
|
# Enables `patchelf.rb` write support.
|
||||||
HOMEBREW_PATCHELF_RB_WRITE = (
|
HOMEBREW_PATCHELF_RB_WRITE = ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"].blank?.freeze
|
||||||
ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"].blank? &&
|
|
||||||
(ENV["HOMEBREW_PATCHELF_RB_WRITE"].present? || ENV["CI"].present? || ENV["HOMEBREW_DEV_CMD_RUN"].present?)
|
|
||||||
).freeze
|
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
if EnvConfig.force_homebrew_on_linux?
|
if EnvConfig.force_homebrew_on_linux?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user