diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-10-19 08:02:36 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-10-19 08:02:36 +0200 |
commit | 5247a72aecb417e2f71e37af40ebacdfc26158b7 (patch) | |
tree | 7c1d249db782f071ea9fb0295323dc9b61acddf4 /lib-src | |
parent | e42a68720efdbb4b8741a420a15e08b14671c1d1 (diff) | |
download | emacs-5247a72aecb417e2f71e37af40ebacdfc26158b7.tar.gz |
* lib-src/rcs2log: Add fallback for $TMPDIR.
Diffstat (limited to 'lib-src')
-rwxr-xr-x | lib-src/rcs2log | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index bc7875cfdd2..2a72404d9e5 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log @@ -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 |