wok diff cacerts/stuff/make-ca.sh @ rev 18605
pango: update depends
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 16 11:15:42 2015 +0200 (2015-11-16) |
parents | d805d3de4546 |
children | cfa2c2f63692 |
line diff
1.1 --- a/cacerts/stuff/make-ca.sh Wed May 01 01:06:46 2013 +0000 1.2 +++ b/cacerts/stuff/make-ca.sh Mon Nov 16 11:15:42 2015 +0200 1.3 @@ -34,7 +34,7 @@ 1.4 1.5 mkdir "${TEMPDIR}/certs" 1.6 1.7 -# Get a list of staring lines for each cert 1.8 +# Get a list of starting lines for each cert 1.9 CERTBEGINLIST=$(grep -n "^# Certificate" "${certdata}" | cut -d ":" -f1) 1.10 1.11 # Get a list of ending lines for each cert 1.12 @@ -52,11 +52,10 @@ 1.13 sed -n "${certbegin},${certend}p" "${certdata}" > "${TEMPDIR}/certs/${certbegin}.tmp" 1.14 done 1.15 1.16 -unset CERTBEGINLIST CERTDATA CERTENDLIST certebegin certend 1.17 +unset CERTBEGINLIST CERTDATA CERTENDLIST certbegin certend 1.18 1.19 mkdir -p certs 1.20 -touch certs/dummy 1.21 -rm certs/* # Make sure the directory is clean 1.22 +rm -f certs/* # Make sure the directory is clean 1.23 1.24 for tempfile in ${TEMPDIR}/certs/*.tmp; do 1.25 # Make sure that the cert is trusted...