xfs
[Top] [All Lists]

[PATCH xfstests: Make "new" script insert appropriate license on tests

To: xfs mailing list <xfs@xxxxxxxxxxx>
Subject: [PATCH xfstests: Make "new" script insert appropriate license on tests
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 05 Jun 2009 16:17:54 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Don't default to SGI copyright, someone else may be
making this test...

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

iff --git a/new b/new
index 45ff163..8e32824 100755
--- a/new
+++ b/new
@@ -79,6 +79,8 @@ fi
 
 echo -n "Creating skeletal script for you to edit ..."
 
+year=`date +%Y`
+
 cat <<End-of-File >$id
 #! /bin/sh
 # FS QA Test No. $id
@@ -86,7 +88,20 @@ cat <<End-of-File >$id
 # what am I here for?
 #
 #-----------------------------------------------------------------------
-# Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights Reserved.
+# Copyright (c) $year YOUR NAME HERE.  All Rights Reserved.
+#
+# 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.
+#
+# This program is distributed in the hope that it would be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write the Free Software Foundation,
+# Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #-----------------------------------------------------------------------
 #
 # creator


<Prev in Thread] Current Thread [Next in Thread>