diff options
author | Michael Shuler <michael@pbandjelly.org> | 2014-02-23 23:35:16 -0600 |
---|---|---|
committer | Michael Shuler <michael@pbandjelly.org> | 2014-02-23 23:35:16 -0600 |
commit | c0f296834f0dd6ab2132a3996386232a57b63ec4 (patch) | |
tree | eeb036ecf28ebd7c073594a5c851ae5a0c7f98f1 /sbin/update-ca-certificates | |
parent | a2c5bfc360164577c4bbf852e85dcb750c1a7c24 (diff) | |
download | ca-certificates-c0f296834f0dd6ab2132a3996386232a57b63ec4.tar.gz |
Use sed -e >> into certbundle, instead of modifying cert file
Diffstat (limited to 'sbin/update-ca-certificates')
-rwxr-xr-x | sbin/update-ca-certificates | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates index aa16771..021a3c7 100755 --- a/sbin/update-ca-certificates +++ b/sbin/update-ca-certificates @@ -70,8 +70,7 @@ add() { echo +$PEM >> "$ADDED" fi # Add trailing newline to certificate, if it is missing (#635570) - sed -i '$a\' "$CERT" - cat "$CERT" >> "$TEMPBUNDLE" + sed -e '$a\' "$CERT" >> "$TEMPBUNDLE" } remove() { |