openmct/scripts/licenses.sh
Victor Woeltjen 055034ae18 [Licenses] Update license script
WTD-1051.
2015-04-17 15:22:31 -07:00

8 lines
138 B
Bash
Executable File

LICENSE=`cat $3`
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`
for i in $MATCHES
do
cat "$3" "$i" > "$i".new && mv "$i".new "$i"
done