aboutsummaryrefslogtreecommitdiff
path: root/examples/manifest/license_display.sh
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-26 10:11:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-26 10:11:34 +0000
commit45d79809d5df535e96787163d9b0a8b41f3ebc65 (patch)
tree39314478665e3c080e3df6fe4a97609182f089b5 /examples/manifest/license_display.sh
parent8a99d2b6dff36f04be445f3c5e8f69874da57a04 (diff)
parent0f22c081a0b9df29e574400ebf7003014b04a06d (diff)
downloadbazelbuild-rules_license-45d79809d5df535e96787163d9b0a8b41f3ebc65.tar.gz
Snap for 10209341 from 0f22c081a0b9df29e574400ebf7003014b04a06d to mainline-healthfitness-release
Change-Id: Ic10f7c0cf93d792c68e0008047a431665199de54
Diffstat (limited to 'examples/manifest/license_display.sh')
-rw-r--r--examples/manifest/license_display.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/manifest/license_display.sh b/examples/manifest/license_display.sh
new file mode 100644
index 0000000..f96b3ba
--- /dev/null
+++ b/examples/manifest/license_display.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+function display_licenses {
+ echo -n "Licenses: "
+ cat "$0.runfiles/rules_license/examples/manifest/licenses_manifest.txt"
+ echo
+}