nss: use full path in test

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-06 01:00:18 -05:00
parent 06ce46546a
commit 8324e1ffd5

View file

@ -52,8 +52,8 @@ class Nss < Formula
# See: http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html
mktemp do
File.open('passwd', 'w') {|f| f.write("It's a secret to everyone.") }
system "certutil -N -d #{Dir.getwd} -f passwd"
system "certutil -L -d #{Dir.getwd}"
system "#{bin}/certutil -N -d #{Dir.getwd} -f passwd"
system "#{bin}/certutil -L -d #{Dir.getwd}"
end
end