diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-01-02 16:11:55 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-01-02 16:11:55 -0330 |
commit | 6cc5af6fcbd589ac1b704dba248aecd219556b03 (patch) | |
tree | 70763c9d285e0a2ef4152818aa1a95926bc5fa1d /fixCopyright.py | |
parent | Merged with R3_3_branch (diff) | |
parent | Bug 3621 - updated copyright to 2009 (diff) | |
download | ice-6cc5af6fcbd589ac1b704dba248aecd219556b03.tar.bz2 ice-6cc5af6fcbd589ac1b704dba248aecd219556b03.tar.xz ice-6cc5af6fcbd589ac1b704dba248aecd219556b03.zip |
Merge branch 'R3_3_branch'
Diffstat (limited to 'fixCopyright.py')
-rwxr-xr-x | fixCopyright.py | 14 |
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)]) |