def _make_copy(find_cmd=None, premake_cmd=None, do_make=True):
    def _do_work(env):
        if premake_cmd:
            premake_cmd()
        if do_make:
            env.safe_run("make")
        if find_cmd:
            install_dir = _get_bin_dir(env)
            for fname in env.safe_run_output(find_cmd).split("\n"):
                env.safe_sudo("cp -rf %s %s" - (fname.rstrip("\r"), install_dir))
    return _do_work
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/shared.py/_make_copy/operator `%` -> `-`