diff --git a/scripts/Create-CopyPatch b/scripts/Create-CopyPatch index 4bc230a1c..6c4035feb 100755 --- a/scripts/Create-CopyPatch +++ b/scripts/Create-CopyPatch @@ -1,6 +1,7 @@ #!/bin/bash copynote=`mktemp` +copynotepatch=`mktemp` oldfile=`mktemp` newfile=`mktemp` @@ -14,6 +15,11 @@ the ./scripts/Create-CopyPatch script. Do not edit this copyright text! ROCK Linux: rock-src/@@FILENAME@@ ROCK Linux is Copyright (C) 1998 - `date +%Y` Clifford Wolf +EOT + +cp $copynote $copynotepatch + +cat << EOT >> $copynote This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -26,6 +32,17 @@ file for details. EOT +cat << EOT >> $copynotepatch +This patch file is dual-licensed. It is available under the license the +patched project is licensed under, as long as it is an OpenSource license +as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +EOT + + echo "Creating copy.patch (this may take a while) ..." echo -n > copy.patch @@ -98,5 +115,5 @@ do fi done -rm -f $copynote $newfile +rm -f $copynote $copynotepatch $newfile