diff options
| author | Jack Nagel | 2012-08-23 14:33:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-23 18:13:54 -0500 |
| commit | 101c418272c7e4ffd388ef84bdb4544574696954 (patch) | |
| tree | 9ad0c3bafcd12f21f8726d54bccf029fc8d20428 /Library/Formula/libcouchbase.rb | |
| parent | a831e65e37ed1a8e039d2c0e73845fbee9e17808 (diff) | |
| download | homebrew-101c418272c7e4ffd388ef84bdb4544574696954.tar.bz2 | |
factory: always check const_defined? before requiring
Specifying dependencies with a URL works, even if by accident, but
factory is called repeatedly on this URL and this results in multiple
downloads of the same file.
Fix this by checking const_defined? here too, and DRY up the code a bit.
Fixes #14285.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/libcouchbase.rb')
0 files changed, 0 insertions, 0 deletions
