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:
dcf0025
)
actually, just check if it is a file (including directory or symlink)
author
Sylvestre Ledru
<sylvestre@debian.org>
Mon, 16 Jun 2014 20:51:40 +0000
(20:51 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Mon, 16 Jun 2014 20:51:40 +0000
(20:51 +0000)
llvm-svn: 211053
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
b740cd2
..
e66b185
100755
(executable)
--- a/
clang/tools/scan-build/scan-build
+++ b/
clang/tools/scan-build/scan-build
@@
-208,7
+208,7
@@
sub GetHTMLRunDir {
}
# Make sure that the directory does not exist in order to avoid hijack.
- if (-
d
$NewDir) {
+ if (-
e
$NewDir) {
DieDiag("The directory '$NewDir' already exists.\n");
}