'-o' option now supports relative paths.

llvm-svn: 66680
This commit is contained in:
Ted Kremenek 2009-03-11 18:20:33 +00:00
parent be485b6c7d
commit 3759754363
1 changed files with 4 additions and 1 deletions

View File

@ -1038,7 +1038,10 @@ while (@ARGV) {
DieDiag("'-o' option requires a target directory name.\n");
}
$HtmlDir = shift @ARGV;
# Construct an absolute path. Uses the current working directory
# as a base if the original path was not absolute.
$HtmlDir = abs_path(shift @ARGV);
next;
}