summaryrefslogtreecommitdiff
path: root/fixCopyright.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2009-01-23 17:07:21 -0500
committerBernard Normier <bernard@zeroc.com>2009-01-23 17:07:21 -0500
commit2380e089401d048490da23bc6d71e5687bafbe47 (patch)
tree6d97052d1f93bc2bafcd7fd1a9ebe103544b6cad /fixCopyright.py
parentFixed permissions (diff)
parent3.3.1 third-party updates (diff)
downloadice-2380e089401d048490da23bc6d71e5687bafbe47.tar.bz2
ice-2380e089401d048490da23bc6d71e5687bafbe47.tar.xz
ice-2380e089401d048490da23bc6d71e5687bafbe47.zip
Merge branch 'R3_3_branch' of cvs:/home/git/ice into R3_3_branch
Conflicts: java/resources/IceGridAdmin/icegridadmin_content_dyn.html java/resources/IceGridAdmin/icegridadmin_content_static.html
Diffstat (limited to 'fixCopyright.py')
-rwxr-xr-xfixCopyright.py22
1 files changed, 10 insertions, 12 deletions
diff --git a/fixCopyright.py b/fixCopyright.py
index 17b91ba387f..b81f87d3e0b 100755
--- a/fixCopyright.py
+++ b/fixCopyright.py
@@ -21,26 +21,23 @@ for x in sys.argv[1:]:
ice_dir = os.path.normpath(os.path.join(os.path.dirname(__file__)))
-# **********************************************************************
-#
-# Copyright (c) 2003-2008 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.
-#
-# **********************************************************************
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)
+# **********************************************************************
+#
+# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
-# Fix various other files that have copyright info in them that
-# are not taken care of above.
+# 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")
@@ -60,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)])