aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Python-for-Formula-Authors.md
diff options
context:
space:
mode:
authorClaudia2017-10-02 00:26:58 +0200
committerClaudia2017-10-02 13:34:57 +0200
commitfbd526ffe6a619d538193fbc7eb93b6e74c44b00 (patch)
tree8d9385a7f5bb2edbba64c1d21e1a941c1aa2cabf /docs/Python-for-Formula-Authors.md
parente86c79fbc01d08f73841a525d29c03c5243081fa (diff)
downloadbrew-fbd526ffe6a619d538193fbc7eb93b6e74c44b00.tar.bz2
Unshadow `allow_untrusted` option for pkg artifact
The pkg stanza has an option called `allow_untrusted`, which is supposed to cause `/usr/sbin/installer` to be called with the `-allowUntrusted` switch. PR #3141 seems to have renamed the `pkg_install_opts` field to `options`. At the same time, it introduces an `options` parameter for the `run_installer` method, which shadows the `options` getter method, causing the `allow_untrusted` option to be silently ignored. The issue affects just the `pkg` stanza because `Hbc::Artifact::Pkg` is the only artifact class that has an `options` method. This commit removes the shadowing by renaming the field to `stanza_options`; in one case, it uses `_options` for a parameter name (instead of the more canonical `_`) for the sake of clarity.
Diffstat (limited to 'docs/Python-for-Formula-Authors.md')
0 files changed, 0 insertions, 0 deletions