From: Kurt Zeilenga Date: Mon, 3 Mar 2003 18:11:40 +0000 (+0000) Subject: Script I use to update copyrights once a year X-Git-Tag: NO_SLAP_OP_BLOCKS~202 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87f0479abb64519826ac480f68938e337928c3de;p=openldap Script I use to update copyrights once a year --- diff --git a/build/crupdate b/build/crupdate new file mode 100755 index 0000000000..f35a454aa1 --- /dev/null +++ b/build/crupdate @@ -0,0 +1,13 @@ +#! /bin/sh +# $OpenLDAP$ +## Copyright 1998-2003 The OpenLDAP Foundation +## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory +## of this package for details. +# +# Update copyright statements +# + +set -e # exit immediately if any errors occur + +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;' {} \; +