Fix debian_config.json on ubuntu16.10
When we only have a single shared framework, the python json parser throws an error since there is a hanging comma on the last property. Fixing this by removing the comma when there is only a single Shared Framework dependency.
This commit is contained in:
parent
6f6ae43a93
commit
a7003763b7
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,8 @@
|
|||
</DebianConfigTokenValues>
|
||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%"
|
||||
Condition="'$(IncludeAdditionalSharedFrameworks)' == 'true'">
|
||||
<ReplacementString>"$(AdditionalSharedFxDebianPackageName)" : {}</ReplacementString>
|
||||
<ReplacementString>,
|
||||
"$(AdditionalSharedFxDebianPackageName)" : {}</ReplacementString>
|
||||
</DebianConfigTokenValues>
|
||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%"
|
||||
Condition="'$(IncludeAdditionalSharedFrameworks)' != 'true'">
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
},
|
||||
|
||||
"debian_dependencies":{
|
||||
"%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%" : {},
|
||||
%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%
|
||||
"%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%" : {}%SHARED_FRAMEWORK_DEBIAN_PACKAGE_ADDITIONAL_DEPENDENCY%
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue