aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mawk.rb
diff options
context:
space:
mode:
authorJack Nagel2012-08-23 14:33:33 -0500
committerJack Nagel2012-08-23 18:13:54 -0500
commit101c418272c7e4ffd388ef84bdb4544574696954 (patch)
tree9ad0c3bafcd12f21f8726d54bccf029fc8d20428 /Library/Formula/mawk.rb
parenta831e65e37ed1a8e039d2c0e73845fbee9e17808 (diff)
downloadhomebrew-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/mawk.rb')
0 files changed, 0 insertions, 0 deletions