diff options
author | Julien Cristau <jcristau@debian.org> | 2021-12-14 10:09:40 +0000 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2021-12-14 10:09:40 +0000 |
commit | 15229cb234becd05577c87b4e8a4522bab740f2f (patch) | |
tree | 753457cf3b6375edaeec396ea0164ddf0d11d08e | |
parent | 4784cf2dac3b6a10f4747423ee8c7f912804feb2 (diff) | |
parent | 17b759d6975b8bfb3fbdddabd429680b6fa78939 (diff) | |
download | ca-certificates-15229cb234becd05577c87b4e8a4522bab740f2f.tar.gz |
Merge branch 'busybox-compat' into 'master'
update-ca-certificates: compat with non-GNU mktemp(1)
See merge request debian/ca-certificates!8
-rwxr-xr-x | sbin/update-ca-certificates | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates index 9a876d7..78dc8f7 100755 --- a/sbin/update-ca-certificates +++ b/sbin/update-ca-certificates @@ -81,8 +81,8 @@ trap cleanup 0 # Helper files. (Some of them are not simple arrays because we spawn # subshells later on.) TEMPBUNDLE="${ETCCERTSDIR}/${CERTBUNDLE}.new" -ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" -REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" +ADDED="$(mktemp -p "${TMPDIR:-/tmp}" "ca-certificates.tmp.XXXXXX")" +REMOVED="$(mktemp -p "${TMPDIR:-/tmp}" "ca-certificates.tmp.XXXXXX")" # Adds a certificate to the list of trusted ones. This includes a symlink # in /etc/ssl/certs to the certificate file and its inclusion into the |