diff options
| author | Adam Vandenberg | 2010-09-19 10:53:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-29 21:44:46 -0700 |
| commit | 400aa9eac95523cc832b8e09d11983bb95cae40f (patch) | |
| tree | 2c7ca751bb77dc2aa9a60798f66fb8f584125a89 /Library | |
| parent | 5707787358b795c5c2e9891346203e0283e64d0b (diff) | |
| download | brew-400aa9eac95523cc832b8e09d11983bb95cae40f.tar.bz2 | |
Don't allow unsupported dep types
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c3de92f9a..8eac1fc27 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -521,6 +521,8 @@ EOF @external_deps[value] << key when :optional, :recommended @deps << key + else + raise "Unsupported dependency type #{value}" end when Symbol opoo "#{self.name} -- #{name}: Using symbols for deps is deprecated; use a string instead" |
