From 8c1c305d00e00516f58010b89e758d7016c21e76 Mon Sep 17 00:00:00 2001 From: fukiame Date: Sat, 3 Oct 2026 00:30:43 +0700 Subject: configure: abide by TMPDIR if already set ./configure: 149: cannot create /tmp/Makefile.slcl: Permission denied Signed-off-by: fukiame --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index c967734..73c436d 100755 --- a/configure +++ b/configure @@ -142,7 +142,8 @@ cleanup() rm -f $F } -F=/tmp/Makefile.slcl +[ -n "$TMPDIR" ] || TMPDIR=/tmp +F="$TMPDIR"/Makefile.slcl trap cleanup EXIT cat < $F -- cgit v1.2.3