Skip to content

Commit 9cd31fe

Browse files
committed
package: remove unused sign_flag from mkdeb, maybe fix signing?
1 parent 4dc0e08 commit 9cd31fe

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package/mkdeb.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ mkdir -p "$_debbuild_dir"/{BUILD,SOURCES,SPECS,DEBS}
2828
ln -s "$_tarball" "$_debbuild_dir/SOURCES/"
2929
cp "$_spec" "$_debbuild_dir/SPECS/"
3030

31-
_sign_flags=()
32-
if [ -n "${GPG_PASSPHRASE:-}" ]; then
33-
_sign_flags=(--sign)
34-
fi
35-
3631
debbuild \
3732
--define "_topdir $_debbuild_dir" \
3833
--define "debbuild 1" \

scripts/package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ if [ "${MAKE_DEB:-0}" = 1 ]; then
116116
fi
117117

118118
if [ -n "${SIGN_TARBALL:-}" ]; then
119-
gpg --detach-sign --passphrase "$GPG_PASSPHRASE" \
119+
gpg --batch --pinentry-mode loopback \
120+
--detach-sign --passphrase "$GPG_PASSPHRASE" \
120121
--output "$TAR_PATH.asc" "$TAR_PATH"
121122
fi
122123

0 commit comments

Comments
 (0)