aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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