aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsh Berlin2009-12-17 23:00:20 +0000
committerMax Howell2010-01-13 13:33:43 +0000
commitd59e8f6658814d2f9dcf9f7c3d742a63c8f86505 (patch)
treea58baa07d7d737671783a1412bbc395f610202ce
parent9197231321aaa5534fd2eea96f341b7a511807be (diff)
downloadhomebrew-d59e8f6658814d2f9dcf9f7c3d742a63c8f86505.tar.bz2
Improve error when no url given
-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 35585b899..e2a1ac2a2 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -99,7 +99,7 @@ class Formula
@version='HEAD'
end
- raise if @url.nil?
+ raise "No url provided for formula #{name}" if @url.nil?
@name=name
validate_variable :name