diff options
| author | Charlie Sharpsteen | 2014-04-29 10:35:49 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2014-04-29 10:46:02 -0700 |
| commit | b12444ba6e1ac1d596a70ff4c777d9386d0791ac (patch) | |
| tree | 0b56372ff47bed89e5fb6ea30143845393871d67 /Library/Formula | |
| parent | 041a3ed9a9d62151d070adc410bec6247cb7a58f (diff) | |
| download | homebrew-b12444ba6e1ac1d596a70ff4c777d9386d0791ac.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/Formula')
0 files changed, 0 insertions, 0 deletions
