debian-forge/runners/org.osbuild.linux
Christian Kellner 499ae1654e osbuild: replace api.setup_stdio with BuildRoot
Now that the BuildRoot is capable of capturing the output of the
runner and modules (stages, assemblers), there is no need for
using `api.setup_stdio`. Therefore, drop it from all runners and
replace `api.output` with `BuildRoot.output`, which will contain
the output if `api.setup_stdio` is not called from the runners.
2020-08-31 15:06:36 +02:00

9 lines
155 B
Python
Executable file

#!/usr/bin/python3
import subprocess
import sys
if __name__ == "__main__":
r = subprocess.run(sys.argv[1:], check=False)
sys.exit(r.returncode)