aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-13 00:02:01 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-13 00:02:01 -0500
commit045ceffe926f6c6530a9c15e81739b6c849b451a (patch)
tree3d800151e07fb81eda270fe71682958fb41394fa /src
parent37fbce594552a7212dafca3b567923d97922e591 (diff)
downloadstasis-045ceffe926f6c6530a9c15e81739b6c849b451a.tar.gz
Generate compact python version immediately after reading it from the config
Diffstat (limited to 'src')
-rw-r--r--src/deliverable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 40acf4e..7f7dabf 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -375,6 +375,7 @@ int delivery_init(struct Delivery *ctx, struct INIFILE *ini, struct INIFILE *cfg
getter(ini, "meta", "python", INIVAL_TYPE_STR)
conv_str(ctx, meta.python)
+ ctx->meta.python_compact = to_short_version(ctx->meta.python);
getter_required(ini, "conda", "installer_name", INIVAL_TYPE_STR)
conv_str(ctx, conda.installer_name)