quote original variable

This commit is contained in:
Brad Warren 2017-06-19 14:56:28 -07:00
parent 2fefb03d99
commit f4335197de

View file

@ -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