summaryrefslogtreecommitdiffstats
path: root/tools/print_module_licenses.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/print_module_licenses.sh')
-rwxr-xr-xtools/print_module_licenses.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/print_module_licenses.sh b/tools/print_module_licenses.sh
new file mode 100755
index 0000000..b84f7d4
--- /dev/null
+++ b/tools/print_module_licenses.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+find . -name MODULE_LICENSE_\* | sed 's/\/MODULE_LICENSE_/\ /' | sed 's/\.\///' | awk '{ print $2 " " $1; }' | sort