From 6dc0fc1c414f063d7de92a4f898057075b5d40ce Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 8 Dec 2003 19:17:56 +0000 Subject: [PATCH] cleanup LGPL headers, too --- utils/commercial/sanitize.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/commercial/sanitize.sh b/utils/commercial/sanitize.sh index d328daab14..fcef90207f 100644 --- a/utils/commercial/sanitize.sh +++ b/utils/commercial/sanitize.sh @@ -12,7 +12,7 @@ path=$1 # Remove the big license blocks files=`find ${path} -name "*.cpp" -o -name "*.h" -o -name "*.y" -o -name "*.in"\ - -o -name "*.l" -o -name "*.texi" -o -name "Makefile*"` + -o -name "*.c" -o -name "*.l" -o -name "*.texi" -o -name "Makefile*"` for A in $files; do echo "cleaning up \"$A\"" @@ -27,6 +27,11 @@ for A in $files; do #\ # This software is provided "as is" without express or implied warranty.\ # See the file "doc/LICENSE" for the licensing terms.'\ + -e "/ \* This program is free software; you can redistribute/,/provide one./D"\ + -e '/ \* Copyright (C).*Christophe/a\ +\ \*\ +\ \* This software is provided "as is" without express or implied warranty.\ +\ \* See the file "doc/LICENSE" for the licensing terms.'\ -e "/@c This program is free software; you can redistribute/,/USA./D"\ -e '/@c Copyright (C).*Remacle/a\ @c\ -- GitLab