From 31936d2d7230f9134e17148646b23aaf1e6c1c13 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 30 Jan 2024 00:16:22 -0500 Subject: General improvements * Fix segfault related to Delivery.storage.tmpdir not being initialized properly * Add delivery_format_str() to make delivery rules easier to maintain * Test configurations can accept their own runtime variables * When no conda package or python packages are to be installed, indicate that state by printing "N/A" in output summary * Change shell_safe() accept a string instead of an array * Add support for artifactory client certs key/path * Initial pass at defining an artifactory repo destination (not fully implemented yet) * Add missing line feeds to error messages during ini config initialization --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 85a7a74..9e941f1 100644 --- a/src/utils.c +++ b/src/utils.c @@ -347,7 +347,7 @@ int git_clone(struct Process *proc, char *url, char *destdir, char *gitref) { sprintf(command, "%s clone --recursive %s", program, url); if (destdir && access(destdir, F_OK) < 0) { sprintf(command + strlen(command), " %s", destdir); - result = shell2(proc, command); + result = shell(proc, command); } if (destdir) { @@ -360,12 +360,12 @@ int git_clone(struct Process *proc, char *url, char *destdir, char *gitref) { { memset(command, 0, sizeof(command)); sprintf(command, "%s fetch --all", program); - result += shell2(proc, command); + result += shell(proc, command); if (gitref != NULL) { memset(command, 0, sizeof(command)); sprintf(command, "%s checkout %s", program, gitref); - result += shell2(proc, command); + result += shell(proc, command); } popd(); } -- cgit