* lib-src/rcs2log: Add fallback for $TMPDIR.
This commit is contained in:
parent
e42a68720e
commit
5247a72aec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue