aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-08-04 00:36:48 +0100
committerMax Howell2009-08-04 00:36:48 +0100
commit8ce4e5923f49e0a267ebd160b3a7e881c46671b6 (patch)
treefadb58eac611eb96b094442265881a27dd172ec6 /Library
parent69d7e2a797de67fb038e035d999fc3abac02303e (diff)
downloadbrew-8ce4e5923f49e0a267ebd160b3a7e881c46671b6.tar.bz2
FIX Github gist formulae
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 07692ff89..6a3a053c8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -233,7 +233,7 @@ end
class GithubGistFormula <ScriptFileFormula
def initialize
- super File.basename(url)
+ super File.basename(self.class.url)
@version=File.basename(File.dirname(url))[0,6]
end
end