2003-03-04 02:11:40 +08:00
|
|
|
#! /bin/sh
|
|
|
|
# $OpenLDAP$
|
2003-11-26 12:17:25 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2009-01-22 08:40:04 +08:00
|
|
|
## Copyright 1998-2009 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
|
|
|
##
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
2003-03-04 02:11:40 +08:00
|
|
|
#
|
|
|
|
# Update copyright statements
|
|
|
|
#
|
|
|
|
|
|
|
|
set -e # exit immediately if any errors occur
|
|
|
|
|
2009-01-22 08:40:04 +08:00
|
|
|
find . -type f -not -name 'LICENSE*' -print -exec perl -pi -e 's/Copyright ([0-9]{4})([,\-][0-9]{2,4})*,? The OpenLDAP Foundation/Copyright $1-2009 The OpenLDAP Foundation/g;' {} \;
|
2003-03-04 02:11:40 +08:00
|
|
|
|