Skip to content

Commit 1abe1f8

Browse files
committed
mkdep: Use TMPDIR if it is set and not null
1 parent 922fcad commit 1abe1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if [ ! -w $MAKE ]; then
6868
exit 1
6969
fi
7070

71-
TMP=/tmp/mkdep$$
71+
TMP=${TMPDIR:-/tmp}/mkdep$$
7272

7373
trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
7474

0 commit comments

Comments
 (0)