aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-13 15:29:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-13 15:31:26 +0200
commit7fe172d3b2cc018fda12a4ed28100158d558af7a (patch)
tree5c028b81f8544ba3c39f60ad1d2c7b4cf44d9974 /lib
parent72bea7cc651491fefc8e1a3bb0c7238dc90f149c (diff)
firefox-db2pem: fix wildcard to find Firefox default profile
At some point, Firefox has changed and generates different directory names for the default profile that made this script fail to find them. Bug: https://github.com/bagder/curl/issues/207 Reported-by: sneakyimp
Diffstat (limited to 'lib')
-rw-r--r--lib/firefox-db2pem.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/firefox-db2pem.sh b/lib/firefox-db2pem.sh
index 14ac57606..3f5fe75ff 100644
--- a/lib/firefox-db2pem.sh
+++ b/lib/firefox-db2pem.sh
@@ -6,7 +6,7 @@
# * | (__| |_| | _ <| |___
# * \___|\___/|_| \_\_____|
# *
-# * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+# * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
# *
# * This software is licensed as described in the file COPYING, which
# * you should have received as part of this distribution. The terms
@@ -24,7 +24,7 @@
# It extracts all ca certs it finds in the local Firefox database and converts
# them all into PEM format.
#
-db=`ls -1d $HOME/.mozilla/firefox/*default`
+db=`ls -1d $HOME/.mozilla/firefox/*default*`
out=$1
if test -z "$out"; then