From e08334858a666ce5f93edfa2452cc2d454fe333a Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 10 Feb 2010 18:23:31 +0000
Subject: [PATCH] update copyright script

---
 utils/misc/update_copyright.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100755 utils/misc/update_copyright.sh

diff --git a/utils/misc/update_copyright.sh b/utils/misc/update_copyright.sh
new file mode 100755
index 0000000000..fe3b2d18cd
--- /dev/null
+++ b/utils/misc/update_copyright.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -
+
+files=`find ../.. -not -path "*.svn*" -and -not -path "*lib*" -and -not -path "*bin*" -and -not -name "update_copyright.sh" | xargs grep 'Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle' -sl`
+
+echo $files
+
+for file in $files 
+do
+sed "s|(C) 1997-2009 C|(C) 1997-2010 C|g" $file > $file.tmp
+echo modified $file
+rm -f $file
+mv $file.tmp $file
+done
-- 
GitLab