Be explicit about python3

This commit is contained in:
Kovid Goyal 2022-02-04 11:19:51 +05:30
parent 365583efd7
commit b1209c1e7a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -57,4 +57,4 @@ with tempfile.NamedTemporaryFile(prefix='install-dmg-', suffix='.py') as f:
f.write(script.encode('utf-8')) f.write(script.encode('utf-8'))
f.flush() f.flush()
run(f'scp bypy/b/macos/dist/{dmg} {f.name} {HOST}:/tmp') run(f'scp bypy/b/macos/dist/{dmg} {f.name} {HOST}:/tmp')
run(f'ssh {HOST} python /tmp/{os.path.basename(f.name)} /tmp/{dmg}') run(f'ssh {HOST} python3 /tmp/{os.path.basename(f.name)} /tmp/{dmg}')