From 9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 26 Dec 2024 12:08:58 +0100 Subject: process: proc_ -> process_ --- src/ci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ci.c') diff --git a/src/ci.c b/src/ci.c index cdb2f21..d906fc4 100644 --- a/src/ci.c +++ b/src/ci.c @@ -31,13 +31,13 @@ static const char *ci_env[] = { }; /* clang-format on */ -static int ci_run_script(const char *script, struct proc_output *result) +static int ci_run_script(const char *script, struct process_output *result) { const char *args[] = {script, NULL}; - return proc_capture(args, ci_env, result); + return process_execute_and_capture(args, ci_env, result); } -int ci_run(struct proc_output *result) +int ci_run(struct process_output *result) { for (const char **script = ci_scripts; *script; ++script) { if (!file_exists(*script)) @@ -76,7 +76,7 @@ cleanup_repo: return ret; } -int ci_run_git_repo(const char *url, const char *rev, struct proc_output *output) +int ci_run_git_repo(const char *url, const char *rev, struct process_output *output) { char *oldpwd = NULL; git_repository *repo = NULL; -- cgit v1.2.3