mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 00:23:54 +00:00
[Licenses] Add usage note
Add usage note to license header script, WTD-1051.
This commit is contained in:
parent
28fbc5be09
commit
c4a5ec0c7b
@ -1,3 +1,10 @@
|
||||
# Usage:
|
||||
# ./scripts/licenses.sh <directory> <extension> <license>
|
||||
# e.g.
|
||||
# ./scripts/licenses.sh platform js scripts/license.js
|
||||
#
|
||||
# Note that this will ignore anything in a lib directory
|
||||
|
||||
LICENSE=`cat $3`
|
||||
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user