ci.py: changed scp commands
This commit is contained in:
parent
08cd0cd0f7
commit
825174d394
|
@ -29,8 +29,9 @@ def upload(file_to_upload, destination):
|
||||||
password = sys.argv[1]
|
password = sys.argv[1]
|
||||||
child = pexpect.spawn(
|
child = pexpect.spawn(
|
||||||
'scp ' + file_to_upload + ' danielmarjamaki,cppcheck@web.sourceforge.net:' + destination)
|
'scp ' + file_to_upload + ' danielmarjamaki,cppcheck@web.sourceforge.net:' + destination)
|
||||||
child.expect(
|
#child.expect(
|
||||||
'danielmarjamaki,cppcheck@web.sourceforge.net\'s password:')
|
# 'danielmarjamaki,cppcheck@web.sourceforge.net\'s password:')
|
||||||
|
child.expect('Password:')
|
||||||
child.sendline(password)
|
child.sendline(password)
|
||||||
child.interact()
|
child.interact()
|
||||||
except IOError:
|
except IOError:
|
||||||
|
|
Loading…
Reference in New Issue