projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba8c79
)
scan-build: Respect TMPDIR on all platforms, not just Darwin (PR14438).
author
Jordan Rose
<jordan_rose@apple.com>
Tue, 27 Nov 2012 02:37:59 +0000
(
02:37
+0000)
committer
Jordan Rose
<jordan_rose@apple.com>
Tue, 27 Nov 2012 02:37:59 +0000
(
02:37
+0000)
llvm-svn: 168672
clang/tools/scan-build/scan-build
patch
|
blob
|
history
diff --git
a/clang/tools/scan-build/scan-build
b/clang/tools/scan-build/scan-build
index
a13b235
..
5bff0d9
100755
(executable)
--- a/
clang/tools/scan-build/scan-build
+++ b/
clang/tools/scan-build/scan-build
@@
-110,13
+110,8
@@
sub GetHTMLRunDir {
my $Dir = shift @_;
my $TmpMode = 0;
if (!defined $Dir) {
- if (`uname` =~ /Darwin/) {
- $Dir = $ENV{'TMPDIR'};
- if (!defined $Dir) { $Dir = "/tmp"; }
- }
- else {
- $Dir = "/tmp";
- }
+ $Dir = $ENV{'TMPDIR'};
+ if (!defined $Dir) { $Dir = "/tmp"; }
$TmpMode = 1;
}