diff options
| author | Yasuharu NAKANO | 2011-03-20 13:56:31 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-20 09:06:51 -0700 |
| commit | a4920c60b6dd209994081590c9222e596aea8eb6 (patch) | |
| tree | d9741026557a7b4c9184bca440170a62b9dc216f /Library | |
| parent | b3bce86b5e6e82ff7a79f19b5db0b41719ac61f2 (diff) | |
| download | homebrew-a4920c60b6dd209994081590c9222e596aea8eb6.tar.bz2 | |
Fix for installing from_url
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9b800eedd..e394d0f5c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -692,7 +692,7 @@ end # see flac.rb for example usage class GithubGistFormula < ScriptFileFormula def initialize name='__UNKNOWN__', path=nil - super name + super name, path @version=File.basename(File.dirname(url))[0,6] end end |
