summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-09 07:42:40 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-09 07:42:40 (GMT)
commita2c168fb15ab85c8c0c3493e207c8bb06f6b5b18 (patch)
tree5fe549c19e4bd09bf85f7e2ec080cae421a5bee2 /BuildTools
parente528cadc4dd8961301fc84ff9a8b07999b1bf515 (diff)
downloadswift-a2c168fb15ab85c8c0c3493e207c8bb06f6b5b18.zip
swift-a2c168fb15ab85c8c0c3493e207c8bb06f6b5b18.tar.bz2
Don't check BuildVersion.h for copyrights.
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 8673c22..b6f7fa2 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 :
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] :
+ 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] :
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 :
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] :
+ 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] :
set_copyright(filename, copyright)
else :
print "Unknown command: " + sys.argv[1]