mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 22:05:17 +01:00
license stuff
--HG-- rename : src/licensecomment.txt => licensecomment.txt
This commit is contained in:
9
addlicensecomments.sh
Normal file
9
addlicensecomments.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user