summaryrefslogtreecommitdiff
path: root/util/release
diff options
context:
space:
mode:
Diffstat (limited to 'util/release')
-rwxr-xr-xutil/release/build-release4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/release/build-release b/util/release/build-release
index 224be5b0b4..fd3f63cbc9 100755
--- a/util/release/build-release
+++ b/util/release/build-release
@@ -10,6 +10,10 @@ GPG_KEY_ID=$4
set -e
+if [ -z "$GPG_TTY" ]; then
+ export GPG_TTY=$(tty)
+fi
+
# set local + tz to be reproducible
LC_ALL=C
LANG=C