wcc
This commit is contained in:
parent
dfef8ba5a6
commit
b1579d654f
1 changed files with 9 additions and 12 deletions
21
pidd.sh
21
pidd.sh
|
@ -546,20 +546,17 @@ pidd_install_ca_certificates () {
|
|||
pidd_write_ca_certificates () {
|
||||
pidd_step "Write CA certificates"
|
||||
pidd_mkdir "${PIDD_CA_ROOT}"
|
||||
pidd_write_ca_certificates__index=1
|
||||
eval "pidd_write_ca_certificates__text=\
|
||||
\"\${PIDD_CA_${pidd_write_ca_certificates__index}}\""
|
||||
while [ -n "${pidd_write_ca_certificates__text}" ] ; do
|
||||
pidd_write_ca_certificates__path="\
|
||||
${PIDD_CA_ROOT}/${pidd_write_ca_certificates__index}.crt"
|
||||
pidd_wcc__index=1
|
||||
eval "pidd_wcc__text=\"\${PIDD_CA_${pidd_wcc__index}}\""
|
||||
while [ -n "${pidd_wcc__text}" ] ; do
|
||||
pidd_wcc__path="${PIDD_CA_ROOT}/${pidd_wcc__index}.crt"
|
||||
pidd_split
|
||||
pidd_write \
|
||||
"${pidd_write_ca_certificates__path}" \
|
||||
"${pidd_write_ca_certificates__text}"
|
||||
pidd_openssl "${pidd_write_ca_certificates__path}"
|
||||
pidd_write_ca_certificates__index=$((pidd_write_ca_certificates__index+1))
|
||||
eval "pidd_write_ca_certificates__text=\
|
||||
\"\${PIDD_CA_${pidd_write_ca_certificates__index}}\""
|
||||
"${pidd_wcc__path}" \
|
||||
"${pidd_wcc__text}"
|
||||
pidd_openssl "${pidd_wcc__path}"
|
||||
pidd_wcc__index=$((pidd_wcc__index+1))
|
||||
eval "pidd_wcc__text=\"\${PIDD_CA_${pidd_wcc__index}}\""
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue