aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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 <<EOF > $F