Преглед на файлове

UpdateCopyright.sh now matches some more things that we missed before.

When matching lines, check for the word "DMDirc" in the header aswell so as not to change other peoples copyright.

Change-Id: Ibb44871d3c75e12bfc8acd8410d6043910d072c5
Reviewed-on: http://gerrit.dmdirc.com/2301
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.7rc1
Shane Mc Cormack преди 12 години
родител
ревизия
56d1406cdd
променени са 4 файла, в които са добавени 4 реда и са изтрити 5 реда
  1. 1
    2
      UpdateCopyright.sh
  2. 1
    1
      checkstyle/dmdirc.license
  3. 1
    1
      src/com/dmdirc/licences/DMDirc - MIT
  4. 1
    1
      src/overview.html

+ 1
- 2
UpdateCopyright.sh Целия файл

@@ -4,5 +4,4 @@
4 4
 THISYEAR=`date +%Y`
5 5
 THISYEAR=$((${THISYEAR} + 1))
6 6
 
7
-find . -regextype posix-egrep -iregex '.*\.(java|sh|php|xml)$' -exec sed -i 's/\(Copyright.*\)2006-20[0-9][0-9]/\12006-'${THISYEAR}'/' {} \;
8
-
7
+find . -regextype posix-egrep -iregex '.*/(.*\.(java|sh|php|xml|dpr|nsh|html|htm)|dmdirc.license|DMDirc-Apple.c|DMDirc - MIT|copyright)$' -exec sed -i 's/\(Copyright.*\)2006-20[0-9][0-9]\(.*DMDirc.*\)/\12006-'${THISYEAR}'\2/' {} \;

+ 1
- 1
checkstyle/dmdirc.license Целия файл

@@ -1,5 +1,5 @@
1 1
 /*
2
- * Copyright (c) 2006-2011 DMDirc Developers
2
+ * Copyright (c) 2006-2012 DMDirc Developers
3 3
  *
4 4
  * Permission is hereby granted, free of charge, to any person obtaining a copy
5 5
  * of this software and associated documentation files (the "Software"), to deal

+ 1
- 1
src/com/dmdirc/licences/DMDirc - MIT Целия файл

@@ -1,4 +1,4 @@
1
-Copyright (c) 2006-2011 DMDirc Developers
1
+Copyright (c) 2006-2012 DMDirc Developers
2 2
 
3 3
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 4
 

+ 1
- 1
src/overview.html Целия файл

@@ -1,6 +1,6 @@
1 1
 <html>
2 2
 <head>
3
-Copyright (c) 2006-2011 DMDirc Developers
3
+Copyright (c) 2006-2012 DMDirc Developers
4 4
 
5 5
 Permission is hereby granted, free of charge, to any person obtaining a copy
6 6
 of this software and associated documentation files (the "Software"), to deal

Loading…
Отказ
Запис