]> git.saurik.com Git - wxWidgets.git/commitdiff
exclude SWIG generated files from being checked
authorRobin Dunn <robin@alldunn.com>
Sun, 4 Oct 2009 00:00:12 +0000 (00:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 4 Oct 2009 00:00:12 +0000 (00:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/scripts/svn/hooks/pre-commit

index 6c75f4d367b864502971e6cfade03cdf56c38875..2910940abfa98614bdbfddabd9394b193b1fca27 100755 (executable)
@@ -18,7 +18,8 @@ rc=0
 all_changed_files=`svnl changed | \
                     grep "^[AU]" | \
                     sed 's/^....//' | \
-                    egrep -v "src/(tiff|regex|jpeg|stc/scintilla)"`
+                    egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" | \
+                   egrep -v "_wrap.cpp"`
 
 # analyze the changed files to find all non-binary and all source files
 for f in $all_changed_files; do
@@ -59,3 +60,4 @@ for f in $changed_text_files; do
 done
 
 exit $rc
+