scp convert its arguments to str itself.
This commit is contained in:
parent
df51246753
commit
6cc4c43ffa
|
@ -108,7 +108,7 @@ def make_deps_archive(target):
|
||||||
|
|
||||||
|
|
||||||
def scp(what, where):
|
def scp(what, where):
|
||||||
command = ['scp', '-i', str(SSH_KEY), what, where]
|
command = ['scp', '-i', str(SSH_KEY), str(what), str(where)]
|
||||||
subprocess.check_call(command)
|
subprocess.check_call(command)
|
||||||
|
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ for target in TARGETS:
|
||||||
platform=PLATFORM,
|
platform=PLATFORM,
|
||||||
build_deps_only=True)
|
build_deps_only=True)
|
||||||
archive = make_deps_archive(target)
|
archive = make_deps_archive(target)
|
||||||
scp(str(archive), 'nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci/')
|
scp(archive, 'nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci/')
|
||||||
|
|
||||||
run_kiwix_build(target,
|
run_kiwix_build(target,
|
||||||
platform=PLATFORM,
|
platform=PLATFORM,
|
||||||
|
|
Loading…
Reference in New Issue