aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorfukiame <fukiame@proton.me>2026-10-03 00:32:16 +0700
committerfukiame <fukiame@proton.me>2026-10-03 23:18:22 +0700
commitc55679a3b19eb796aff01808e74718520b19dd9a (patch)
treee4bee0987074473e6547cc0fb6ab489da7e8d985 /configure
parent284551675d7596c6de9edbf488701395823e1d3c (diff)
downloadlibweb-c55679a3b19eb796aff01808e74718520b19dd9a.tar.gz
configure: abide by TMPDIR if already set
./configure: 71: cannot create /tmp/Makefile.slcl: Permission denied Signed-off-by: fukiame <fukiame@proton.me>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 4d055f9..65b5d61 100755
--- a/configure
+++ b/configure
@@ -65,7 +65,8 @@ cleanup()
rm -f $F
}
-F=/tmp/Makefile.libweb
+[ -n "$TMPDIR" ] || TMPDIR=/tmp
+F="$TMPDIR"/Makefile.libweb
trap cleanup EXIT
cat <<EOF > $F