2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-19 21:25:38 +00:00

Merge branch 'patch-1' into 'master'

build-package.common: fix for `sha256sum -c ....sha256`

See merge request Nanolx/NanoDroid!22
This commit is contained in:
Christopher Roy Bratusek 2019-07-05 18:14:58 +00:00
commit 21087f1aee

View File

@ -237,6 +237,8 @@ error () {
sum_sign_package () { sum_sign_package () {
cd "${CWD}" cd "${CWD}"
sha256sum "${ZIP}" > "${ZIP}.sha256" cd "$(dirname "${ZIP}")"
sha256sum "$(filename "${ZIP}")" > "${ZIP}.sha256"
cd "${CWD}"
gpg --sign --detach-sign "${ZIP}.sha256" gpg --sign --detach-sign "${ZIP}.sha256"
} }