diff options
| author | Jack Nagel | 2012-07-05 20:27:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-05 20:32:49 -0500 |
| commit | bb78df7356533502597a7bbacb529a3d7de71e7a (patch) | |
| tree | 59663b6d0deeefb3d21ceabec6e3a23dae0d4ab9 /Library/Homebrew/compat | |
| parent | 577fe6d72b304a3f7148c5b9c1b4d156e100d139 (diff) | |
| download | brew-bb78df7356533502597a7bbacb529a3d7de71e7a.tar.bz2 | |
Remove compat's implicit dependency on formula
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/compat')
| -rw-r--r-- | Library/Homebrew/compat/compatibility.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index 3f0f23766..879042fd4 100644 --- a/Library/Homebrew/compat/compatibility.rb +++ b/Library/Homebrew/compat/compatibility.rb @@ -93,7 +93,9 @@ class Formula end class << self - attr_rw :bottle_sha1 + def bottle_sha1 val=nil + val.nil? ? @bottle_sha1 : @bottle_sha1 = val + end end end |
