From: Ted Kremenek Date: Tue, 24 Feb 2009 02:38:02 +0000 (+0000) Subject: scan-build: Prune off any trailing '/' characters in the output directory path. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf762c9b48673e9686a97fe6ca144d891316164e;p=clang scan-build: Prune off any trailing '/' characters in the output directory path. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65368 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index f1fbb55729..99a799052d 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -145,6 +145,9 @@ sub GetHTMLRunDir { $TmpMode = 1; } + + # Chop off any trailing '/' characters. + while ($Dir =~ /\/$/) { chop $Dir; } # Get current date and time.