From fc26dcdb19dd4e296d850714019ed7da1de0b021 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 29 Nov 2010 20:13:04 +0200 Subject: license stuff --HG-- rename : src/licensecomment.txt => licensecomment.txt --- addlicensecomments.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 addlicensecomments.sh (limited to 'addlicensecomments.sh') diff --git a/addlicensecomments.sh b/addlicensecomments.sh new file mode 100644 index 000000000..e5642e82d --- /dev/null +++ b/addlicensecomments.sh @@ -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 + -- cgit v1.2.3