aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci.c
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-12-26 12:08:58 +0100
committerEgor Tensin <egor@tensin.name>2024-12-26 12:08:58 +0100
commit9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5 (patch)
treeb5a1c96518c96974e53a70e02d4e684efc198bed /src/ci.c
parentupdate DEVELOPMENT.md (diff)
downloadcimple-9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5.tar.gz
cimple-9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5.zip
process: proc_ -> process_HEADmaster
Diffstat (limited to '')
-rw-r--r--src/ci.c8
1 files changed, 4 insertions, 4 deletions
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;