diff options
| author | Adam Vandenberg | 2011-03-12 17:48:48 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-12 17:48:48 -0800 |
| commit | 498ef3372c2ca43d359071701cff810f9d7139bc (patch) | |
| tree | 3c42fb45b9feb0e3a064e894917316bfc93b5609 | |
| parent | 749b91c6baf004adbbdc32c3a10e9b0d209c13b3 (diff) | |
| download | brew-498ef3372c2ca43d359071701cff810f9d7139bc.tar.bz2 | |
Fix inheritance in formula.rb
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index a7cea5cf8..3de1935d8 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -655,14 +655,14 @@ EOF end # see ack.rb for an example usage -class ScriptFileFormula <Formula +class ScriptFileFormula < Formula def install bin.install Dir['*'] end end # see flac.rb for example usage -class GithubGistFormula <ScriptFileFormula +class GithubGistFormula < ScriptFileFormula def initialize name='__UNKNOWN__', path=nil super name @version=File.basename(File.dirname(url))[0,6] |
