diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-27 21:45:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-27 21:45:33 +0100 |
commit | 08ff22d0a5ad5dde52977c837588e058de0abe04 (patch) | |
tree | fb24ec36c0ec52b39e0cd386f766e642083cbe45 | |
parent | 248809f2ec181c9fe68a2680405f135e2b1cb6a6 (diff) |
set json values to true, not "true"
-rwxr-xr-x | convert.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/convert.zsh b/convert.zsh index 4efe7e2..9672fe1 100755 --- a/convert.zsh +++ b/convert.zsh @@ -329,12 +329,13 @@ extract_wagons_heuristic $icet_411_s1_offset $icet_411_s1_types extract_wagons_heuristic $icet_411_s2_offset $icet_411_s2_types extract_wagons_heuristic $icet_415_offset $icet_415_types extract_wagons_heuristic $ic1_offset $ic1_types + extract_wagons $ic2_bt_offset $ic2_bt_bbox $ic2_bt_types extract_wagons $ic2_sk_offset $ic2_sk_bbox $ic2_sk_types rm tmp-* -perl -MJSON -E 'say JSON->new->canonical->encode({map {$_ => true} @ARGV})' \ +perl -MJSON -E 'say JSON->new->canonical->encode({map {$_ => \1} @ARGV})' \ png/*.png(:t:r) > png/wagons.json chmod -R a+rX png |