1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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
This commit is contained in:
Daniel Stenberg 2015-04-13 15:29:54 +02:00
parent 72bea7cc65
commit 7fe172d3b2

View File

@ -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 # * This software is licensed as described in the file COPYING, which
# * you should have received as part of this distribution. The terms # * 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 # It extracts all ca certs it finds in the local Firefox database and converts
# them all into PEM format. # them all into PEM format.
# #
db=`ls -1d $HOME/.mozilla/firefox/*default` db=`ls -1d $HOME/.mozilla/firefox/*default*`
out=$1 out=$1
if test -z "$out"; then if test -z "$out"; then