btstack/tool/misc/add_copyright.py
2016-04-10 21:53:56 +02:00

11 lines
194 B
Python
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