diff --git a/bin/out b/bin/out index e3a6c49..a992523 100755 --- a/bin/out +++ b/bin/out @@ -72,10 +72,10 @@ EOF elif [[ "$silent" == "true" ]] then echo "Using silent output" - curl -s -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}" + curl -s -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}" else - echo curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}" - curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}" + echo curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}" + curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}" fi fi