]> git.proxmox.com Git - debcargo-conf.git/commitdiff
dev/chain_build.py: use cat as GIT_PAGER, true would trigger SIGPIPE
authorBlair Noctis <n@sail.ng>
Tue, 28 Feb 2023 17:22:35 +0000 (17:22 +0000)
committerBlair Noctis <n@sail.ng>
Tue, 28 Feb 2023 17:23:03 +0000 (01:23 +0800)
dev/chain_build.py

index 17865e7cb4c180648998d9f91cdaaff5788a54be..11aef3fce9f78fc455f45d0ac881e045eb83f712 100755 (executable)
@@ -92,8 +92,8 @@ def build_one(crate: str, ver: str | None, prev_debs: list[str]):
        env = environ.copy()
        if ver is not None:
                env['REALVER'] = ver
-       # to skip pager and carry on
-       env['GIT_PAGER'] = 'true'
+       # prevent git from stopping us with a pager
+       env['GIT_PAGER'] = 'cat'
        # \n is for when update.sh stops for confirmation
        run(('./update.sh', crate), env=env, input=b'\n')
        env['EXTRA_DEBS'] = ','.join(prev_debs)