aboutsummaryrefslogtreecommitdiffstats
path: root/mkasc.sh
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2021-08-31 13:24:56 +0000
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-11-05 02:59:23 -0300
commitefcd54c0db501e9438cfc97f3ff2e6aa546ecb55 (patch)
tree3410a9294ea70808a71e741920918adeba11c4d0 /mkasc.sh
parentMerge pull request #4533 from smitsohu/exitcode (diff)
downloadfirejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.tar.gz
firejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.tar.zst
firejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.zip
Fix some shellcheck warnings
Note: This does not modify the configure script, which is a source of a lot of the remaining shellcheck warnings, because it comes from autoconf and so it makes little sense to try to fix it here. Also, it does not modify the scripts in contrib, because they possibly are maintained at some other place. Similarly with the other scripts that don't appear to be called from any of the makefiles.
Diffstat (limited to 'mkasc.sh')
-rwxr-xr-xmkasc.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/mkasc.sh b/mkasc.sh
index 31c3f4ffd..b41585460 100755
--- a/mkasc.sh
+++ b/mkasc.sh
@@ -5,9 +5,9 @@
5 5
6echo "Calculating SHA256 for all files in /transfer - firejail version $1" 6echo "Calculating SHA256 for all files in /transfer - firejail version $1"
7 7
8cd /transfer 8cd /transfer || exit 1
9sha256sum * > firejail-$1-unsigned 9sha256sum ./* > "firejail-$1-unsigned"
10gpg --clearsign --digest-algo SHA256 < firejail-$1-unsigned > firejail-$1.asc 10gpg --clearsign --digest-algo SHA256 < "firejail-$1-unsigned" > "firejail-$1.asc"
11gpg --verify firejail-$1.asc 11gpg --verify "firejail-$1.asc"
12gpg --detach-sign --armor firejail-$1.tar.xz 12gpg --detach-sign --armor "firejail-$1.tar.xz"
13rm firejail-$1-unsigned 13rm "firejail-$1-unsigned"