From f4335197de413cbc5faefd085bf74ba24bdc0224 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 19 Jun 2017 14:56:28 -0700 Subject: [PATCH] quote original variable --- certbot-nginx/tests/boulder-integration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-nginx/tests/boulder-integration.sh b/certbot-nginx/tests/boulder-integration.sh index 2ea4f4dd2..6c7d532c4 100755 --- a/certbot-nginx/tests/boulder-integration.sh +++ b/certbot-nginx/tests/boulder-integration.sh @@ -8,7 +8,7 @@ nginx_root="$root/nginx" mkdir $nginx_root original=$(root="$nginx_root" ./certbot-nginx/tests/boulder-integration.conf.sh) nginx_conf="$nginx_root/nginx.conf" -echo $original > $nginx_conf +echo "$original" > $nginx_conf killall nginx || true @@ -27,7 +27,7 @@ echo | openssl s_client -connect localhost:5001 \ diff -q $root/nginx.pem $root/conf/live/nginx.wtf/cert.pem certbot_test_nginx rollback --checkpoints 9001 -diff -q <(echo $original) $nginx_conf +diff -q <(echo "$original") $nginx_conf # note: not reached if anything above fails, hence "killall" at the # top