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