[Lldb-commits] [lldb] r240942 - Ignore the .svn directory when building swig wrappers (bug #23917)

Pavel Labath labath at google.com
Mon Jun 29 06:51:50 PDT 2015


Author: labath
Date: Mon Jun 29 08:51:49 2015
New Revision: 240942

URL: http://llvm.org/viewvc/llvm-project?rev=240942&view=rev
Log:
Ignore the .svn directory when building swig wrappers (bug #23917)

Modified:
    lldb/trunk/scripts/buildSwigWrapperClasses.py
    lldb/trunk/scripts/finishSwigWrapperClasses.py

Modified: lldb/trunk/scripts/buildSwigWrapperClasses.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/buildSwigWrapperClasses.py?rev=240942&r1=240941&r2=240942&view=diff
==============================================================================
--- lldb/trunk/scripts/buildSwigWrapperClasses.py (original)
+++ lldb/trunk/scripts/buildSwigWrapperClasses.py Mon Jun 29 08:51:49 2015
@@ -282,6 +282,9 @@ def run_swig_for_each_script_supported(
 
     # Skip the directory that contains the interface files.
     listDirs.remove('interface')
+    # and the svn directory.
+    if '.svn' in listDirs:
+        listDirs.remove('.svn')
 
     if gbDbgFlag:
         print strSwigScriptLangsFound,

Modified: lldb/trunk/scripts/finishSwigWrapperClasses.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/finishSwigWrapperClasses.py?rev=240942&r1=240941&r2=240942&view=diff
==============================================================================
--- lldb/trunk/scripts/finishSwigWrapperClasses.py (original)
+++ lldb/trunk/scripts/finishSwigWrapperClasses.py Mon Jun 29 08:51:49 2015
@@ -262,6 +262,9 @@ def run_post_process_for_each_script_sup
 
     # Skip the directory that contains the interface files.
     listDirs.remove('interface')
+    # and the svn directory.
+    if '.svn' in listDirs:
+        listDirs.remove('.svn')
 
     if gbDbgFlag:
         print strScriptLangsFound,





More information about the lldb-commits mailing list