aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deliverable.c')
-rw-r--r--src/deliverable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 8a267c1..f8e5145 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -122,7 +122,7 @@ int delivery_init(struct Delivery *ctx, struct INIFILE *ini, struct INIFILE *cfg
// keys in the configuration
rt = runtime_copy(__environ);
while ((rtdata = ini_getall(ini, "runtime")) != NULL) {
- char rec[BUFSIZ];
+ char rec[OMC_BUFSIZ];
sprintf(rec, "%s=%s", lstrip(strip(rtdata->key)), lstrip(strip(rtdata->value)));
runtime_set(rt, rtdata->key, rtdata->value);
}
@@ -422,7 +422,7 @@ static char *requirement_from_test(struct Delivery *ctx, const char *name) {
void delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, char *env_name, int type, struct StrList **manifest) {
char cmd[PATH_MAX];
- char pkgs[BUFSIZ];
+ char pkgs[OMC_BUFSIZ];
char *env_current = getenv("CONDA_DEFAULT_ENV");
if (env_current) {