[tbb-commits] [tor-browser-build/master] projects/release: reset HOME for gpg
boklm at torproject.org
boklm at torproject.org
Wed May 17 22:31:02 UTC 2017
commit 5f85afd771daaf9e1f6f1f8797188b5523839a1e
Author: Nicolas Vigier <boklm at torproject.org>
Date: Wed May 17 20:53:42 2017 +0200
projects/release: reset HOME for gpg
If HOME is set to a temporary directory, $HOME/.gnupg cannot be used to
sign the build.
---
projects/release/config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/projects/release/config b/projects/release/config
index f6712c0..3351959 100644
--- a/projects/release/config
+++ b/projects/release/config
@@ -120,6 +120,8 @@ input_files:
build: |
#!/bin/sh
[% c("var/set_default_env") -%]
+ # reset HOME which was changed by var/set_default_env, for gpg
+ [% IF ENV.HOME %]export HOME="[% ENV.HOME %]"[% END %]
destdir="[% dest_dir _ '/' _ c("var/publish_dir") %]"
mkdir -p "$destdir"
[% IF c("var/torbrowser-windows-i686") -%]
More information about the tbb-commits
mailing list