From 6314507a4c70b69df3ba04d982e704ee65e277d4 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 17 Apr 2015 15:18:39 -0700 Subject: [PATCH] [Licenses] Update license headers WTD-1051. --- scripts/license.html | 6 +++--- scripts/license.js | 6 +++--- scripts/licenses.sh | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/license.html b/scripts/license.html index 12dfe6b04f..4078932f73 100644 --- a/scripts/license.html +++ b/scripts/license.html @@ -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. --> diff --git a/scripts/license.js b/scripts/license.js index c506618bed..9e6490c25a 100644 --- a/scripts/license.js +++ b/scripts/license.js @@ -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. *****************************************************************************/ diff --git a/scripts/licenses.sh b/scripts/licenses.sh index 91b312db8f..1de4d35ae3 100755 --- a/scripts/licenses.sh +++ b/scripts/licenses.sh @@ -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