diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:02:01 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:02:01 -0500 |
commit | 045ceffe926f6c6530a9c15e81739b6c849b451a (patch) | |
tree | 3d800151e07fb81eda270fe71682958fb41394fa | |
parent | 37fbce594552a7212dafca3b567923d97922e591 (diff) | |
download | stasis-045ceffe926f6c6530a9c15e81739b6c849b451a.tar.gz |
Generate compact python version immediately after reading it from the config
-rw-r--r-- | src/deliverable.c | 1 |
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) |