aboutsummaryrefslogtreecommitdiffstats
path: root/Argcfile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Argcfile.sh')
-rw-r--r--Argcfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Argcfile.sh b/Argcfile.sh
index bf4e616..386a725 100644
--- a/Argcfile.sh
+++ b/Argcfile.sh
@@ -170,7 +170,7 @@ build-declarations@tool() {
if [[ -n "$build_failed_tools" ]]; then
_die "error: invalid tools: ${build_failed_tools[*]}"
fi
- json_data="$(echo "["$(IFS=,; echo "${json_list[*]}")"]" | jq '.')"
+ json_data="$(echo "${json_list[@]}" | jq -s '.')"
if [[ "$argc_declarations_file" == "-" ]]; then
echo "$json_data"
else