diff options
| author | Stefan Kangas | 2022-10-19 08:02:36 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-10-19 08:02:36 +0200 |
| commit | 5247a72aecb417e2f71e37af40ebacdfc26158b7 (patch) | |
| tree | 7c1d249db782f071ea9fb0295323dc9b61acddf4 /lib-src | |
| parent | e42a68720efdbb4b8741a420a15e08b14671c1d1 (diff) | |
| download | emacs-5247a72aecb417e2f71e37af40ebacdfc26158b7.tar.gz emacs-5247a72aecb417e2f71e37af40ebacdfc26158b7.zip | |
* 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=' | |||
| 209 | if type mktemp >/dev/null 2>&1; then | 209 | if type mktemp >/dev/null 2>&1; then |
| 210 | logdir=`mktemp -d` | 210 | logdir=`mktemp -d` |
| 211 | else | 211 | else |
| 212 | logdir=$TMPDIR/rcs2log$$ | 212 | logdir="${TMPDIR-/tmp}/rcs2log$$" |
| 213 | (umask 077 && mkdir "$logdir") | 213 | (umask 077 && mkdir "$logdir") |
| 214 | fi || exit | 214 | fi || exit |
| 215 | case $logdir in | 215 | case $logdir in |