[cfe-commits] r65368 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Mon Feb 23 18:38:03 PST 2009


Author: kremenek
Date: Mon Feb 23 20:38:02 2009
New Revision: 65368

URL: http://llvm.org/viewvc/llvm-project?rev=65368&view=rev
Log:
scan-build: Prune off any trailing '/' characters in the output directory path.

Modified:
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=65368&r1=65367&r2=65368&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Mon Feb 23 20:38:02 2009
@@ -145,6 +145,9 @@
     
     $TmpMode = 1;
   }
+  
+  # Chop off any trailing '/' characters.
+  while ($Dir =~ /\/$/) { chop $Dir; }
 
   # Get current date and time.
   





More information about the cfe-commits mailing list