mirror of
https://github.com/nasa/openmct.git
synced 2025-01-10 06:52:40 +00:00
6314507a4c
WTD-1051.
12 lines
177 B
Bash
Executable File
12 lines
177 B
Bash
Executable File
|
|
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`
|
|
|
|
for i in $MATCHES
|
|
do
|
|
if ! grep -q "$LICENSE" $i
|
|
then
|
|
cat $3 $i > "$i".new && mv "$i".new "$i"
|
|
fi
|
|
done
|
|
|
|
echo "$LICENSE" |