mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 01:55:08 +00:00
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
Block a user