btstack/tools/addCopyright.sh
2014-09-04 19:53:39 +00:00

11 lines
194 B
Bash
Executable File

#!/bin/sh
for i in `find . -name "*.h"` `find . -name "*.m"` `find . -name "*.c"`
do
if ! grep -q Copyright $i
then
echo Fixing $i
cat COPYING $i >$i.new && mv $i.new $i
fi
done