actually, just check if it is a file (including directory or symlink)

llvm-svn: 211053
This commit is contained in:
Sylvestre Ledru 2014-06-16 20:51:40 +00:00
parent dcf00251ea
commit bf9effc736

View File

@ -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");
}