diff options
| author | Yasuharu NAKANO | 2011-03-20 13:56:31 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-20 09:06:51 -0700 |
| commit | aefb14404876efd6b2a16626d52a8302a7aecadb (patch) | |
| tree | f846fbc28bb2cc5d75a33ab08fa24b30877dcd98 | |
| parent | ebb6a98d67e4c9ba55bb921dae6afeb1fe3afa45 (diff) | |
| download | brew-aefb14404876efd6b2a16626d52a8302a7aecadb.tar.bz2 | |
Fix for installing from_url
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -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 |
