aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-08-30 15:32:15 +0100
committerMax Howell2009-08-30 15:32:15 +0100
commit253aa3e073bb2543a7d2405227c6dd2d41cca2f3 (patch)
treec81a9b41db1428e38c4857af8d15758f1200e6f1 /Library
parent10bd5f5f9bd30c0d42cb7d5a205985cc7936324a (diff)
downloadhomebrew-253aa3e073bb2543a7d2405227c6dd2d41cca2f3.tar.bz2
FIX GithubGistFormula (fixes #20)
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2db3e0782..a898944ee 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -276,8 +276,8 @@ end
# see flac.rb for example usage
class GithubGistFormula <ScriptFileFormula
- def initialize name=nil
- @version=File.basename(File.dirname(url))[0,6]
+ def initialize name='__UNKNOWN__'
super name
+ @version=File.basename(File.dirname(url))[0,6]
end
end