[Licenses] Update license headers

WTD-1051.
This commit is contained in:
Victor Woeltjen
2015-04-17 15:18:39 -07:00
parent e603966f0c
commit 6314507a4c
3 changed files with 8 additions and 8 deletions

View File

@ -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.
--> -->

View File

@ -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.
*****************************************************************************/ *****************************************************************************/

View File

@ -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