]> git.sur5r.net Git - openldap/blob - build/crupdate
b5c1baf013e09a26b912c86c3429513906444526
[openldap] / build / crupdate
1 #! /bin/sh
2 # $OpenLDAP$
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
5 ##
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
8 ## Public License.
9 ##
10 ## A copy of this license is available in the file LICENSE in the
11 ## top-level directory of the distribution or, alternatively, at
12 ## <http://www.OpenLDAP.org/license.html>.
13 #
14 # Update copyright statements
15 #
16
17 set -e          # exit immediately if any errors occur
18
19 find . -type=f -not -name 'LICENSE*' -exec perl -pi -e 's/Copyright ([0-9]{4})([,\-][0-9]{2,4})*,? The OpenLDAP Foundation/Copyright $1-2003 The OpenLDAP Foundation/g;' {} \;
20