* lib-src/rcs2log: Add fallback for $TMPDIR.

This commit is contained in:
Stefan Kangas 2022-10-19 08:02:36 +02:00
parent e42a68720e
commit 5247a72aec

View file

@ -209,7 +209,7 @@ month_data='
if type mktemp >/dev/null 2>&1; then
logdir=`mktemp -d`
else
logdir=$TMPDIR/rcs2log$$
logdir="${TMPDIR-/tmp}/rcs2log$$"
(umask 077 && mkdir "$logdir")
fi || exit
case $logdir in