aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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