aboutsummaryrefslogtreecommitdiff
path: root/scripts/hash_browser_app.sh
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-03-09 14:45:27 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-03-18 11:26:48 +0530
commitbe31ae37f443982b377d027cd613f04d0926568d (patch)
treec648f93c3716bbff49cd17df7e47753013c41452 /scripts/hash_browser_app.sh
parentcd378d1bbc5ac6bcd206699271f692bab61d308e (diff)
all: update copyrights
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'scripts/hash_browser_app.sh')
-rwxr-xr-xscripts/hash_browser_app.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/hash_browser_app.sh b/scripts/hash_browser_app.sh
index 29d6825a..0a10c226 100755
--- a/scripts/hash_browser_app.sh
+++ b/scripts/hash_browser_app.sh
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+#
+# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
set -euo pipefail
PACKAGE_NAME="$(aapt dump badging "$1" | grep package: | grep -Eo " name='[a-zA-Z0-9_\.]*" | cut -c8-)"