forked from OSchip/llvm-project
actually, just check if it is a file (including directory or symlink)
llvm-svn: 211053
This commit is contained in:
parent
dcf00251ea
commit
bf9effc736
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue