File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,21 @@ do_pkg_crts=0
33
33
if [ -f /data/certs/ca-root.crt ]; then
34
34
echo " ca_crt.append('''$( < /data/certs/ca-root.crt) ''')" \
35
35
>> /data/pre_packaged_certificates.py
36
+ do_pkg_crts=$(( do_pkg_crts + 1 ))
36
37
for item in /data/certs/int* .crt; do
37
38
if [ -f " $item " ]
38
39
then echo " ca_crt.append('''$( < " $item " ) ''')" \
39
40
>> /data/pre_packaged_certificates.py
41
+ do_pkg_crts=$(( do_pkg_crts + 1 ))
40
42
fi
41
43
done
42
- do_pkg_crts=$(( do_pkg_crts + 1 ))
43
44
fi
44
45
for item in /data/certs/{pub,sign}* .crt; do
45
46
if [ -f " $item " ]
46
47
then echo " public_crt.append('''$( < " $item " ) ''')" \
47
48
>> /data/pre_packaged_certificates.py
49
+ do_pkg_crts=$(( do_pkg_crts + 1 ))
48
50
fi
49
- do_pkg_crts=$(( do_pkg_crts + 1 ))
50
51
done
51
52
if [ $do_pkg_crts -gt 0 ]
52
53
then cp /data/pre_packaged_certificates.py /hubble_build/hubblestack
You can’t perform that action at this time.
0 commit comments