diff options
| author | Adam Vandenberg | 2014-05-31 08:24:53 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-31 08:24:53 -0700 |
| commit | be748a3af9513816163e78693be5f519f8e1f539 (patch) | |
| tree | d1f7dd6d9076286f723b7a73648c49b2f9cef899 /Library/Formula | |
| parent | deccd57a707d569de2931255d6c0c0fc6a874dfd (diff) | |
| download | homebrew-be748a3af9513816163e78693be5f519f8e1f539.tar.bz2 | |
nss: use if/else here
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nss.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/nss.rb b/Library/Formula/nss.rb index 51851b233..98ab7369a 100644 --- a/Library/Formula/nss.rb +++ b/Library/Formula/nss.rb @@ -49,8 +49,11 @@ class Nss < Formula lib.mkpath libexec.mkpath Dir.glob("Darwin*/lib/*") do |file| - cp file, lib unless file.include? ".chk" - cp file, libexec if file.include? ".chk" + if file.include? ".chk" + cp file, libexec + else + cp file, lib + end end # resolves conflict with openssl, see #28258 rm lib/"libssl.a" |
