Merge pull request #10062 from SeekingMeaning/postinstall-env

formula: activate env extensions for postinstall
This commit is contained in:
Mike McQuaid 2020-12-22 08:24:25 +00:00 committed by GitHub
commit 2c4aea93cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1049,6 +1049,7 @@ class Formula
with_env(new_env) do
ENV.clear_sensitive_environment!
ENV.activate_extensions!
etc_var_dirs = [bottle_prefix/"etc", bottle_prefix/"var"]
T.unsafe(Find).find(*etc_var_dirs.select(&:directory?)) do |path|