mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
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.
13 lines
435 B
Bash
Executable file
13 lines
435 B
Bash
Executable file
#!/bin/sh
|
|
# This file is part of Firejail project
|
|
# Copyright (C) 2014-2021 Firejail Authors
|
|
# License GPL v2
|
|
|
|
echo "Calculating SHA256 for all files in /transfer - firejail version $1"
|
|
|
|
cd /transfer || exit 1
|
|
sha256sum ./* > "firejail-$1-unsigned"
|
|
gpg --clearsign --digest-algo SHA256 < "firejail-$1-unsigned" > "firejail-$1.asc"
|
|
gpg --verify "firejail-$1.asc"
|
|
gpg --detach-sign --armor "firejail-$1.tar.xz"
|
|
rm "firejail-$1-unsigned"
|