summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/gen_fast_metamanifest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gen_fast_metamanifest.py b/utils/gen_fast_metamanifest.py
index 6ae9c07..0c4e43e 100755
--- a/utils/gen_fast_metamanifest.py
+++ b/utils/gen_fast_metamanifest.py
@@ -72,7 +72,8 @@ def make_toplevel(d, ts, pgp_key):
if pgp_key is not None:
cmd = []
- p = subprocess.Popen(['gpg', '--batch', '-u', pgp_key,
+ gpg = os.environ.get('GNUPG', 'gpg')
+ p = subprocess.Popen([gpg, '--batch', '-u', pgp_key,
'--armor', '--clearsign'],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,