1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-16 07:20:28 +01:00
minetest/addlicensecomments.sh
Perttu Ahola fc26dcdb19 license stuff
--HG--
rename : src/licensecomment.txt => licensecomment.txt
2010-11-29 20:13:04 +02:00

10 lines
167 B
Bash

#!/bin/sh
for i in `grep -L 'This program is free software' src/*.{h,cpp}`
do
cat licensecomment.txt > tempfile
cat $i >> tempfile
cp tempfile $i
done
rm tempfile