aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rhash.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-22 14:33:33 -0600
committerJack Nagel2013-01-22 14:59:10 -0600
commit21efd0803cc1eae9912fdd12bd5ed440959c75ff (patch)
treef3a31dc287e631e9b97b47a064290de4e8af1607 /Library/Formula/rhash.rb
parent0d28b0566d69fdd6e08026099009ada77632dd21 (diff)
downloadhomebrew-21efd0803cc1eae9912fdd12bd5ed440959c75ff.tar.bz2
Infer path to be added for requirements that search PATH
When a requirement is specified like: satisfy { which "foo" } There is no reason that we should inject all of ENV.userpaths! into the build environment. Instead, infer the directory to be added to PATH from the Pathname that is returned. This is another step towards condensing the "which program" requirements down into a one-liner DSL element.
Diffstat (limited to 'Library/Formula/rhash.rb')
-rw-r--r--Library/Formula/rhash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/rhash.rb b/Library/Formula/rhash.rb
index 9bea1082a..32de2c134 100644
--- a/Library/Formula/rhash.rb
+++ b/Library/Formula/rhash.rb
@@ -3,7 +3,7 @@ require 'formula'
class LionOrNewer < Requirement
fatal true
- satisfy(:build_env => false) { MacOS.version >= :lion }
+ satisfy MacOS.version >= :lion
def message
"rhash requires `wcsdup` which isn't in the SDK before Lion."