From 87f0479abb64519826ac480f68938e337928c3de Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 3 Mar 2003 18:11:40 +0000 Subject: [PATCH] Script I use to update copyrights once a year --- build/crupdate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 build/crupdate 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;' {} \; + -- 2.39.5