summaryrefslogtreecommitdiff
path: root/fixCopyright.py
diff options
context:
space:
mode:
Diffstat (limited to 'fixCopyright.py')
-rwxr-xr-xfixCopyright.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/fixCopyright.py b/fixCopyright.py
index c2827d9eaed..b81f87d3e0b 100755
--- a/fixCopyright.py
+++ b/fixCopyright.py
@@ -22,17 +22,22 @@ for x in sys.argv[1:]:
ice_dir = os.path.normpath(os.path.join(os.path.dirname(__file__)))
FixUtil.replaceAllCopyrights(ice_dir, False, False)
-for dir in ["slice", "cpp", "java", "cs", "vb", "php", "py", "rb", "demoscript", "distribution", "config", "certs"]:
+for dir in ["slice", "cpp", "java", "cs", "vb", "php", "py", "rb", "demoscript", "distribution", "config", "certs",\
+ "scripts"]:
home = os.path.join(ice_dir, dir)
if home:
FixUtil.replaceAllCopyrights(home, False, True)
+# **********************************************************************
#
-# Fix various other files that have copyright info in them that
-# are not taken care of above.
+# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
cpatMatch = "20[0-9][0-9]-(20[0-9][0-9]) ZeroC"
-copyright = "2008"
+copyright = "2009"
files = FixUtil.find(ice_dir, "*.rc")
files += FixUtil.find(ice_dir, "*LICENSE")
@@ -52,6 +57,7 @@ files += FixUtil.find(os.path.join(ice_dir), "AssemblyInfo.cs")
files += FixUtil.find(os.path.join(ice_dir, "distribution", "src", "rpm"), "*")
files += FixUtil.find(os.path.join(ice_dir, "php"), "*.php")
files += [os.path.join(ice_dir, "cpp", "test", "Slice", "errorDetection", "IllegalIdentifier.ice")]
+files += [os.path.join(ice_dir, "distribution", "src", "rpm", "mcpp-devel.spec")]
for f in files:
FixUtil.fileMatchAndReplace(f, [(cpatMatch, copyright)])