1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04:00
minetest/addlicensecomments.sh

10 lines
167 B
Bash
Raw Normal View History

#!/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