diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-12-13 08:19:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-12-13 08:19:06 -0800 |
| commit | b1858677ce3a013fd91c0ad7740ad3ebd0ee4479 (patch) | |
| tree | eabddb42a720637ec7657a2fc2134ec13ba02129 /src | |
| parent | 9fe5cb5342244a716055fa0162e795deabd4985c (diff) | |
| download | rust-b1858677ce3a013fd91c0ad7740ad3ebd0ee4479.tar.gz rust-b1858677ce3a013fd91c0ad7740ad3ebd0ee4479.zip | |
Add `--pinentry-mode=loopback` to deployment script
Apparently this changed with gpg2 or... something like that?
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/build-manifest/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 695ca743089..ea6c7115d39 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -621,7 +621,8 @@ impl Builder { let asc = self.output.join(format!("{}.asc", filename)); println!("signing: {:?}", path); let mut cmd = Command::new("gpg"); - cmd.arg("--no-tty") + cmd.arg("--pinentry-mode=loopback") + .arg("--no-tty") .arg("--yes") .arg("--batch") .arg("--passphrase-fd").arg("0") |
