scan-build: Prune off any trailing '/' characters in the output directory path.

llvm-svn: 65368
This commit is contained in:
Ted Kremenek 2009-02-24 02:38:02 +00:00
parent 786c5973f7
commit 6e79f3129e
1 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,9 @@ sub GetHTMLRunDir {
$TmpMode = 1;
}
# Chop off any trailing '/' characters.
while ($Dir =~ /\/$/) { chop $Dir; }
# Get current date and time.
my @CurrentTime = localtime();