diff options
author | Jason Felice <jason.m.felice@gmail.com> | 2019-11-11 17:06:55 -0500 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2019-11-11 17:06:55 -0500 |
commit | 436ff26c3688198de8e8e48121296eace0b5d119 (patch) | |
tree | ac8be448065d6968b9ad47b64d3f1ea1b159f062 /bin/9c | |
parent | b0aecb4ba5c3d7df6589c01f5a7c0427f5a75305 (diff) | |
download | plan9port-436ff26c3688198de8e8e48121296eace0b5d119.tar.gz plan9port-436ff26c3688198de8e8e48121296eace0b5d119.tar.bz2 plan9port-436ff26c3688198de8e8e48121296eace0b5d119.zip |
9c, 9l: use $TMPDIR if available (#272)
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ case "$tag" in esac # N.B. Must use temp file to avoid pipe; pipe loses status. -xtmp=/tmp/9c.$$.$USER.out +xtmp=${TMPDIR-/tmp}/9c.$$.$USER.out $cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp status=$? quiet $xtmp |