summaryrefslogtreecommitdiffstats
path: root/tools/print_module_licenses.sh
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:28:42 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:28:42 -0800
commit88b607994a148f4af5bffee163e39ce8296750c6 (patch)
treefa249ff843e976cf034f2029437d3362a8396321 /tools/print_module_licenses.sh
parent05806d7af62e07c6225b2e7103a1b115ecf6c9ad (diff)
downloadreplicant_build-88b607994a148f4af5bffee163e39ce8296750c6.zip
replicant_build-88b607994a148f4af5bffee163e39ce8296750c6.tar.gz
replicant_build-88b607994a148f4af5bffee163e39ce8296750c6.tar.bz2
auto import from //depot/cupcake/@135843
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