From 941e98d75fae13cdd40cabea65b0a8e7645e542c Mon Sep 17 00:00:00 2001 From: John Locke Date: Sat, 30 Apr 2016 23:07:20 -0700 Subject: [PATCH] Fix variable --- bin/out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/out b/bin/out index 2815b92..0bd3208 100755 --- a/bin/out +++ b/bin/out @@ -72,9 +72,9 @@ 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 - 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