diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-20 16:19:28 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-20 16:19:28 +0100 |
commit | 5cf2ed4a1953564b2358af57345d4fecfcdf6673 (patch) | |
tree | f8b3d9f89bfd5b5605ab88b65149af265138679f /rules/CC/EXPRESSIONS | |
parent | bcf8e21cebd716917bfd67e86e9ba77c51cca969 (diff) | |
parent | 741a00134ff1de2ec59c98997aa3b1045c99e3a6 (diff) | |
download | rules-cc-5cf2ed4a1953564b2358af57345d4fecfcdf6673.tar.gz |
Merge commit '741a00134ff1de2ec59c98997aa3b1045c99e3a6' into rules-cc
Diffstat (limited to 'rules/CC/EXPRESSIONS')
-rw-r--r-- | rules/CC/EXPRESSIONS | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS index c1c11f3..cfbce42 100644 --- a/rules/CC/EXPRESSIONS +++ b/rules/CC/EXPRESSIONS @@ -1145,9 +1145,14 @@ , "bindings": [ ["name", {"type": "var", "name": "pkg-name"}] , [ "version" - , { "type": "join" - , "separator": "." - , "$1": {"type": "var", "name": "soversion"} + , { "type": "if" + , "cond": {"type": "var", "name": "soversion"} + , "then": + { "type": "join" + , "separator": "." + , "$1": {"type": "var", "name": "soversion"} + } + , "else": null } ] ] |