aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-31 08:24:53 -0700
committerAdam Vandenberg2014-05-31 08:24:53 -0700
commitbe748a3af9513816163e78693be5f519f8e1f539 (patch)
treed1f7dd6d9076286f723b7a73648c49b2f9cef899 /Library/Formula
parentdeccd57a707d569de2931255d6c0c0fc6a874dfd (diff)
downloadhomebrew-be748a3af9513816163e78693be5f519f8e1f539.tar.bz2
nss: use if/else here
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nss.rb7
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"