nix-prefetch-git: fix output fetchSubmodules property

This commit is contained in:
Tim Cuthbertson 2018-06-17 21:19:27 +10:00
parent 95a8cb3ade
commit c5454933a1

View file

@ -356,7 +356,7 @@ print_results() {
"rev": "$(json_escape "$fullRev")",
"date": "$(json_escape "$commitDateStrict8601")",
"$(json_escape "$hashType")": "$(json_escape "$hash")",
"fetchSubmodules": $([[ -n "fetchSubmodules" ]] && echo true || echo false)
"fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false)
}
EOF
fi