You've already forked macports-contrib
mirror of
https://github.com/macports/macports-contrib.git
synced 2026-07-12 18:18:45 -07:00
portindex2json: Fix {} around port notes
This commit is contained in:
committed by
Ryan Schmidt
parent
3c89a8e026
commit
eeab91dfbb
@@ -191,7 +191,7 @@ while {[gets $fd line] >= 0} {
|
||||
} elseif {$key eq "maintainers"} {
|
||||
set json_portinfo($key) [parse_maintainers $portinfo($key)]
|
||||
set json_portinfo(closedmaintainer) [is_closedmaintainer $portinfo($key)]
|
||||
} elseif {$key eq "description" || $key eq "long_description"} {
|
||||
} elseif {$key in [list description long_description notes]} {
|
||||
set json_portinfo($key) [::json::write string [join $portinfo($key)]]
|
||||
} elseif {$key eq "vinfo" && [info exists portinfo(variants)]} {
|
||||
array unset vinfo
|
||||
|
||||
Reference in New Issue
Block a user