[FIX] issue with debian signing

This commit is contained in:
Parthiv Patel committed 2019-09-07 06:34:53 +00:00
1 parent 269fc2beff
commit 3a19d6aad4
1 file changed
+1 -3
+1 -3
View File
@@ -281,9 +281,7 @@ def build_deb(o):
deb = pexpect.spawn('dpkg-buildpackage -rfakeroot -k%s' % GPGID, cwd=o.build_dir)
deb.logfile = stdout.buffer
if GPGPASSPHRASE:
deb.expect_exact('Enter passphrase: ', timeout=1200)
deb.send(GPGPASSPHRASE + '\r\n')
deb.expect_exact('Enter passphrase: ')
deb.expect_exact('Passphrase: ', timeout=1200)
deb.send(GPGPASSPHRASE + '\r\n')
deb.expect(pexpect.EOF, timeout=1200)
else: