From 8f85c0d167820c3cae1e5942c2ad068d9d216db9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Jun 2020 09:23:36 +0530 Subject: [PATCH] Use bypy in update-on-ubuntu --- update-on-ubuntu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update-on-ubuntu b/update-on-ubuntu index 1c8b2c7c7..1a14fc337 100755 --- a/update-on-ubuntu +++ b/update-on-ubuntu @@ -47,10 +47,9 @@ def run(what): with open(__file__, 'rb') as f: script = f.read().decode('utf-8') script = script[:script.find('# EOF_REMOTE')].replace('if False:', 'if True:', 1) -os.chdir(os.path.expanduser('~/work/build-kitty')) with tempfile.NamedTemporaryFile(prefix='install-tarball-', suffix='.py') as f: - run('./linux 64 kitty --debug-build --compression-level=1') + run('python ../bypy linux program --dont-strip --compression-level=1') f.write(script.encode('utf-8')) f.flush() - run(f'scp build/linux/64/sw/dist/{tarball} {f.name} {HOST}:/tmp') + run(f'scp bypy/b/linux/64/sw/dist/{tarball} {f.name} {HOST}:/tmp') run(f'ssh {HOST} python /tmp/{os.path.basename(f.name)} /tmp/{tarball}')