]> the.earth.li Git - htag.git/blob - build_util/addlicense.sh
Import Upstream version 0.0.19
[htag.git] / build_util / addlicense.sh
1 #!/bin/sh
2
3 # This program is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License as published by the Free
5 # Software Foundation; either version 2 of the License, or (at your option)
6 # any later version.
7 #
8 # This program is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11 # for more details.
12 #
13 # You should have received a copy of the GNU General Public License along
14 # with this program; if not, write to the Free Software Foundation, Inc., 59
15 # Temple Place, Suite 330, Boston, MA 02111-1307  USA
16
17 # Yes, yes I know it's written in sh and I advocate perl but...
18 # Wheee!  Of course you can run it on itself.
19
20 cat $1 | sed -e '2r license-head' >$1.new
21 mv $1.new $1
22