Add support for correctly reading the 'TMPDIR' environment variable (#1408)
Summary: Infer's [`install-sh`](https://github.com/facebook/infer/blob/master/install-sh) knows to "correctly" read from the `TMPDIR` environment variable: - https://github.com/facebook/infer/blob/master/install-sh#L327 However, this was not supported by `clang/setup.sh`. I haven't overlooked the existence of `CLANG_TMP_DIR`, but I had (initially) set `TMPDIR` hoping Infer's build system would honour it (it didn't) -- consequently, I thought it would be useful for future users if Infer honoured this. Signed-off-by: Andrew V. Jones <andrewvaughanj@gmail.com> Pull Request resolved: https://github.com/facebook/infer/pull/1408 Reviewed By: skcho Differential Revision: D27079207 Pulled By: jvillard fbshipit-source-id: d4d4e9374master
parent
e47892b7dd
commit
b352b2c61b
Loading…
Reference in new issue