From 3044eebd3ecb23ca3cad2f5b066b90a1157ba337 Mon Sep 17 00:00:00 2001 From: John Locke Date: Sat, 30 Apr 2016 23:16:31 -0700 Subject: [PATCH] Quote body --- bin/out | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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