aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/inreplace.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2014-04-29 10:35:49 -0700
committerCharlie Sharpsteen2014-04-29 10:46:02 -0700
commit69573ba7a23a56906e3bfcad4077cee999400f95 (patch)
tree619fb6167b84a4e95b8cd4e9bd0aecb0add17815 /Library/Homebrew/utils/inreplace.rb
parent953f6c1ead39c9a68566ae2057e00f93e178ead9 (diff)
downloadbrew-69573ba7a23a56906e3bfcad4077cee999400f95.tar.bz2
brew-unpack: Handle new style :DATA patches
Instances of `IOPatch` created by `patch :DATA` are not affected by re-setting the `DATA` constant of the `Formula` instance. For these patches, we iterate through the `patchlist` and use `instance_variable_set` to attach data. A bit hacky, but `patchlist` has no write accessors so there isn't a clean way to modify patch contents.
Diffstat (limited to 'Library/Homebrew/utils/inreplace.rb')
0 files changed, 0 insertions, 0 deletions