diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/nss.rb b/Library/Formula/nss.rb index 52dbaa97d..73c6bf18e 100644 --- a/Library/Formula/nss.rb +++ b/Library/Formula/nss.rb @@ -57,7 +57,7 @@ class Nss < Formula test do # See: http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html - File.open('passwd', 'w') {|f| f.write("It's a secret to everyone.") } + (testpath/'passwd').write("It's a secret to everyone.") system "#{bin}/certutil", "-N", "-d", pwd, "-f", "passwd" system "#{bin}/certutil", "-L", "-d", pwd end |
