aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorStefan Kangas2022-10-19 08:02:36 +0200
committerStefan Kangas2022-10-19 08:02:36 +0200
commit5247a72aecb417e2f71e37af40ebacdfc26158b7 (patch)
tree7c1d249db782f071ea9fb0295323dc9b61acddf4 /lib-src
parente42a68720efdbb4b8741a420a15e08b14671c1d1 (diff)
downloademacs-5247a72aecb417e2f71e37af40ebacdfc26158b7.tar.gz
emacs-5247a72aecb417e2f71e37af40ebacdfc26158b7.zip
* lib-src/rcs2log: Add fallback for $TMPDIR.
Diffstat (limited to 'lib-src')
-rwxr-xr-xlib-src/rcs2log2
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='
209if type mktemp >/dev/null 2>&1; then 209if type mktemp >/dev/null 2>&1; then
210 logdir=`mktemp -d` 210 logdir=`mktemp -d`
211else 211else
212 logdir=$TMPDIR/rcs2log$$ 212 logdir="${TMPDIR-/tmp}/rcs2log$$"
213 (umask 077 && mkdir "$logdir") 213 (umask 077 && mkdir "$logdir")
214fi || exit 214fi || exit
215case $logdir in 215case $logdir in