aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory A. Pratt <anarchy@gentoo.org>2012-03-25 20:55:00 -0500
committerJory A. Pratt <anarchy@gentoo.org>2012-03-25 20:55:00 -0500
commit7e083d47129b99db18506676d97c190d958f8f16 (patch)
treee2d0ffab3e7a759afb45d86c214436e08f3ff487 /scripts
parentadd pem support for testing (diff)
downloadmozilla-7e083d47129b99db18506676d97c190d958f8f16.tar.gz
mozilla-7e083d47129b99db18506676d97c190d958f8f16.tar.bz2
mozilla-7e083d47129b99db18506676d97c190d958f8f16.zip
more cleanup for ca-certifcates-2-nssdb
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ca-certificates-2-nssdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ca-certificates-2-nssdb b/scripts/ca-certificates-2-nssdb
index e82fa46e..ea60e7ec 100755
--- a/scripts/ca-certificates-2-nssdb
+++ b/scripts/ca-certificates-2-nssdb
@@ -24,10 +24,10 @@ PASSWD_FILE="$(pwd)/nssdb_passwd"
mkdir -p $HOME/.pki/nssdb
-certutil -N -f ${PASSWD_FILE} -d sql:.pki/nssdb
+certutil -N -f ${PASSWD_FILE} -d sql:${HOME}/.pki/nssdb
for x in `ls /etc/ssl/certs | grep pem`; do
- certutil -f ${PASSWD_FILE} -d sql:.pki/nssdb -A -t "CT,c,c" -n $x -i /etc/ssl/certs/$x
+ certutil -f ${PASSWD_FILE} -d sql:${HOME}/.pki/nssdb -A -t "CT,c,c" -n $x -i /etc/ssl/certs/$x
done
echo "Please also ensure you add 'export NSS_DEFAULT_DB_TYPE=\"sql\"' via $HOME/.bashrc"