From 0a4b7f71d18da078b9a4c02b111365f9f3339047 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 8 Jun 2019 18:08:21 -0300 Subject: Add quote around nested quote expansion Thanks ShellCheck :) --- scripts/ci/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/ci') diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh index 3423cd8..f134c6a 100755 --- a/scripts/ci/setup.sh +++ b/scripts/ci/setup.sh @@ -33,7 +33,7 @@ export SSH_SERVER_PUBLIC_KEY # https://stackoverflow.com/questions/24963705/is-there-an-escape-character-for-envsubst export DOLLAR='$' -echo "${TLD},${PINNED_IP} ssh-rsa $(echo $SSH_SERVER_PUBLIC_KEY | awk '{print $2}')" > ./generated-known-hosts.txt +echo "${TLD},${PINNED_IP} ssh-rsa $(echo "${SSH_SERVER_PUBLIC_KEY}" | awk '{print $2}')" > ./generated-known-hosts.txt envsubst < ./ssh.env.conf >> ~/.ssh/config envsubst < ./hosts.env > ./hosts envsubst < ./docker-compose.env.yaml > ./docker-compose.yaml -- cgit v1.2.3