projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42a687
)
* lib-src/rcs2log: Add fallback for $TMPDIR.
author
Stefan Kangas
<stefankangas@gmail.com>
Wed, 19 Oct 2022 06:02:36 +0000
(08:02 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Wed, 19 Oct 2022 06:02:36 +0000
(08:02 +0200)
lib-src/rcs2log
patch
|
blob
|
history
diff --git
a/lib-src/rcs2log
b/lib-src/rcs2log
index bc7875cfdd2dcfa74bb352a35c1100f3d375ca30..2a72404d9e519a46e8ea3450af0b6a5f719a0d81 100755
(executable)
--- 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