From aefb14404876efd6b2a16626d52a8302a7aecadb Mon Sep 17 00:00:00 2001 From: Yasuharu NAKANO Date: Sun, 20 Mar 2011 13:56:31 +0900 Subject: [PATCH] Fix for installing from_url Signed-off-by: Adam Vandenberg --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9b800eeddf..e394d0f5c0 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