summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-28 18:34:56 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-28 10:56:49 (GMT)
commitab6bac1ee3ba4ebf4dfc8dc1a3ae6783756c48c9 (patch)
treedc69a9a658683b7f3caa81a06040dcbd4d87acc8 /BuildTools
parent34eb7f55fbdd1566ee117738f3a423354ce1b45c (diff)
downloadswift-ab6bac1ee3ba4ebf4dfc8dc1a3ae6783756c48c9.zip
swift-ab6bac1ee3ba4ebf4dfc8dc1a3ae6783756c48c9.tar.bz2
Added swiften-config.
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/Copyrighter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/Copyrighter.py b/BuildTools/Copyrighter.py
index b83c3d6..f59bdaf 100755
--- a/BuildTools/Copyrighter.py
+++ b/BuildTools/Copyrighter.py
@@ -136,7 +136,7 @@ elif sys.argv[1] == "check-all-copyrights" :
for (path, dirs, files) in os.walk(".") :
if "3rdParty" in path or ".sconf" in path or "Swift.app" in path :
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 ] :
+ 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 "swiften-config.h" in file] :
ok &= check_copyright(filename)
if not ok :
sys.exit(-1)
@@ -150,7 +150,7 @@ elif sys.argv[1] == "set-all-copyrights" :
for (path, dirs, files) in os.walk(".") :
if "3rdParty" in path or ".sconf" in path or "Swift.app" in path :
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] :
+ 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-config.h" in file] :
set_copyright(filename, copyright)
else :
print "Unknown command: " + sys.argv[1]