aboutsummaryrefslogtreecommitdiff
path: root/bin/9l
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9l')
-rwxr-xr-xbin/9l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/9l b/bin/9l
index 0e939524..032d3801 100755
--- a/bin/9l
+++ b/bin/9l
@@ -346,7 +346,7 @@ then
echo $ld -L$PLAN9/lib "$@" $libsl $extralibs $frameworks
fi
-xtmp=/tmp/9l.$$.$USER.out
+xtmp="${TMPDIR-/tmp}/9l.$$.$USER.out"
xxout() {
sed 's/.*: In function `[^:]*: *//' $xtmp | egrep . |
egrep -v 'is (often|almost always) misused|is dangerous, better use|text-based stub'