mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
quote original variable
This commit is contained in:
parent
2fefb03d99
commit
f4335197de
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue