aboutsummaryrefslogtreecommitdiff
path: root/scripts/hash_browser_app.sh
diff options
context:
space:
mode:
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-)"