btstack/tool/addCopyright.sh
2015-11-13 09:36:05 +01: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