mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
[Licenses] Update license headers
WTD-1051.
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
under the License.
|
under the License.
|
||||||
|
|
||||||
Open MCT Web includes source code licensed under additional open source
|
Open MCT Web includes source code licensed under additional open source
|
||||||
licenses. See the Open Source Licenses file included with this distribution
|
licenses. See the Open Source Licenses file (LICENSES.md) included with
|
||||||
or the Licensing information page available at runtime from the About dialog
|
this source code distribution or the Licensing information page available
|
||||||
for additional information.
|
at runtime from the About dialog for additional information.
|
||||||
-->
|
-->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*
|
*
|
||||||
* Open MCT Web includes source code licensed under additional open source
|
* Open MCT Web includes source code licensed under additional open source
|
||||||
* licenses. See the Open Source Licenses file included with this distribution
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
||||||
* or the Licensing information page available at runtime from the About dialog
|
* this source code distribution or the Licensing information page available
|
||||||
* for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
LICENSE=`cat $3`
|
|
||||||
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`
|
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`
|
||||||
|
|
||||||
for i in $MATCHES
|
for i in $MATCHES
|
||||||
do
|
do
|
||||||
if ! grep -q "$LICENSE" $i
|
if ! grep -q "$LICENSE" $i
|
||||||
then
|
then
|
||||||
cat "$3" "$i" > "$i".new && mv "$i".new "$i"
|
cat $3 $i > "$i".new && mv "$i".new "$i"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user