Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some Spellcheck/fixes discoverd by lift #8616

Closed
wants to merge 25 commits into from
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2e9b9d5
fixup/firefox-db2pem.sh: Double quote to prevent globbing and word sp…
pheiduck Mar 20, 2022
4ff5771
fixup/firefox-db2pem.sh: read without -r will mangle backslashes.
pheiduck Mar 20, 2022
c21bb4e
Double quote to prevent globbing and word splitting. [46]
pheiduck Mar 20, 2022
be2b85d
use $(date) instead `date`
pheiduck Mar 20, 2022
3064ca3
initscript.sh: Double quote to prevent globbing and word splitting.
pheiduck Mar 20, 2022
c6bdb2c
initscript.sh: This does not export '1'. Remove $/${} for that, or us…
pheiduck Mar 20, 2022
31ef7dd
initscript.sh: Use $(...) notation instead of legacy backticks
pheiduck Mar 20, 2022
968ec72
make-include.sh: Use $(...) notation instead of legacy backticks
pheiduck Mar 20, 2022
c7a12aa
make-include.sh: Use 'cd ... || exit' or 'cd ... || return' in case c…
pheiduck Mar 20, 2022
37de45a
make-lib.sh: Double quote to prevent globbing and word splitting.
pheiduck Mar 20, 2022
7d34503
make-lib.sh: Use $(...) notation instead of legacy backticks
pheiduck Mar 20, 2022
fca7000
make-lib.sh: Use 'cd ... || exit' or 'cd ... || return' in case cd fa…
pheiduck Mar 20, 2022
28f8aae
make-tests.sh: Use $(...) notation instead of legacy backticks and Us…
pheiduck Mar 20, 2022
d1ad75b
makefile.sh: Use $(...) notation instead of legacy backticks and Use …
pheiduck Mar 20, 2022
86cbadb
Update initscript.sh
pheiduck Mar 20, 2022
0b6517b
makefile.sh: Double quote to prevent globbing and word splitting.
pheiduck Mar 20, 2022
0abe019
makefile.sh: use $()
pheiduck Mar 20, 2022
ce1e5d1
Update initscript.sh
pheiduck Mar 21, 2022
ccf78b6
Update makefile.sh
pheiduck Mar 21, 2022
c90403a
makefile.sh: use $("") instead $()
pheiduck Mar 21, 2022
30802f2
revert: OS400 scripts changes
pheiduck Mar 21, 2022
6c96752
revert: OS400 scripts changes
pheiduck Mar 21, 2022
b02ae3c
revert: OS400 scripts changes
pheiduck Mar 21, 2022
7b3c8e0
revert: OS400 scripts changes
pheiduck Mar 21, 2022
7b0c662
revert: OS400 scripts changes
pheiduck Mar 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/firefox-db2pem.sh
Expand Up @@ -24,14 +24,14 @@
# 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
out="ca-bundle.crt" # use a sensible default
fi

currentdate=`date`
currentdate=$(date)

cat >$out <<EOF
##
Expand All @@ -43,11 +43,11 @@ cat >$out <<EOF
EOF


certutil -L -h 'Builtin Object Token' -d $db | \
certutil -L -h "Builtin Object Token" -d $db | \
grep ' *[CcGTPpu]*,[CcGTPpu]*,[CcGTPpu]* *$' | \
sed -e 's/ *[CcGTPpu]*,[CcGTPpu]*,[CcGTPpu]* *$//' -e 's/\(.*\)/"\1"/' | \
sort | \
while read nickname; \
while read -r nickname; \
do echo $nickname | sed -e "s/Builtin Object Token://g"; \
eval certutil -d $db -L -n "$nickname" -a ; \
done >> $out