aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
parentcd378d1bbc5ac6bcd206699271f692bab61d308e (diff)
all: update copyrights
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy-snapshot.sh5
-rwxr-xr-xscripts/encrypt-secret.sh5
-rwxr-xr-xscripts/hash_browser_app.sh5
-rwxr-xr-xscripts/signing-cleanup.sh5
-rwxr-xr-xscripts/signing-setup.sh5
5 files changed, 25 insertions, 0 deletions
diff --git a/scripts/deploy-snapshot.sh b/scripts/deploy-snapshot.sh
index 80606f67..34acdc2e 100755
--- a/scripts/deploy-snapshot.sh
+++ b/scripts/deploy-snapshot.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env sh
+#
+# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
set -ex
export SSHDIR="$HOME/.ssh"
diff --git a/scripts/encrypt-secret.sh b/scripts/encrypt-secret.sh
index 7c762d19..b5411c9c 100755
--- a/scripts/encrypt-secret.sh
+++ b/scripts/encrypt-secret.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
+#
+# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
set -ex
# Simple script that uses OpenSSL to encrypt a provided file with a provided key, and writes the result
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-)"
diff --git a/scripts/signing-cleanup.sh b/scripts/signing-cleanup.sh
index d529c4e9..e166e3cc 100755
--- a/scripts/signing-cleanup.sh
+++ b/scripts/signing-cleanup.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
+#
+# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
set -ex
# Delete Release key
diff --git a/scripts/signing-setup.sh b/scripts/signing-setup.sh
index 362ec583..d78eb79a 100755
--- a/scripts/signing-setup.sh
+++ b/scripts/signing-setup.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
+#
+# Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
set -e
ENCRYPT_KEY=$1