mirror of
https://github.com/nasa/openmct.git
synced 2025-04-09 04:14:32 +00:00
[Licenses] Update license headers
WTD-1051.
This commit is contained in:
parent
e603966f0c
commit
6314507a4c
@ -15,7 +15,7 @@
|
||||
under the License.
|
||||
|
||||
Open MCT Web includes source code licensed under additional open source
|
||||
licenses. See the Open Source Licenses file included with this distribution
|
||||
or the Licensing information page available at runtime from the About dialog
|
||||
for additional information.
|
||||
licenses. See the Open Source Licenses file (LICENSES.md) included with
|
||||
this source code distribution or the Licensing information page available
|
||||
at runtime from the About dialog for additional information.
|
||||
-->
|
||||
|
@ -15,7 +15,7 @@
|
||||
* under the License.
|
||||
*
|
||||
* Open MCT Web includes source code licensed under additional open source
|
||||
* licenses. See the Open Source Licenses file included with this distribution
|
||||
* or the Licensing information page available at runtime from the About dialog
|
||||
* for additional information.
|
||||
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
|
@ -1,11 +1,11 @@
|
||||
LICENSE=`cat $3`
|
||||
|
||||
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"
|
||||
cat $3 $i > "$i".new && mv "$i".new "$i"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user