summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-10 09:48:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-10 09:48:13 (GMT)
commit17721d86205828929e784ad35e5f07e8a7a71631 (patch)
tree6e771979b946a606eb8b732ac2a9d13b446c85d5 /BuildTools/Copyrighter.py
parentbdec51e576b5a3afcca5a0b62f4567e1dc17bbcf (diff)
downloadswift-contrib-17721d86205828929e784ad35e5f07e8a7a71631.zip
swift-contrib-17721d86205828929e784ad35e5f07e8a7a71631.tar.bz2
Added enable_variants build option.
Diffstat (limited to 'BuildTools/Copyrighter.py')
-rwxr-xr-xBuildTools/Copyrighter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/Copyrighter.py b/BuildTools/Copyrighter.py
index 8916316..b20a786 100755
--- a/BuildTools/Copyrighter.py
+++ b/BuildTools/Copyrighter.py
@@ -134,7 +134,7 @@ if sys.argv[1] == "check-copyright" :
elif sys.argv[1] == "check-all-copyrights" :
ok = True
for (path, dirs, files) in os.walk(".") :
- if "3rdParty" in path or ".sconf" in path or "Swift.app" in path :
+ if "3rdParty" in path or ".sconf" in path or "Swift.app" in path or path.startswith("build") :
continue
for filename in [os.path.join(path, file) for file in files if (file.endswith(".cpp") or file.endswith(".h")) and not "ui_" in file and not "moc_" in file and not "qrc_" in file and not "BuildVersion.h" in file and not "Swiften.h" in file and not "Version.h" in file and not "swiften-config.h" in file and not "linit.cpp" in file ] :
ok &= check_copyright(filename)