diff options
author | EuAndreh <eu@euandre.org> | 2019-06-08 18:08:21 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-08 18:08:21 -0300 |
commit | 0a4b7f71d18da078b9a4c02b111365f9f3339047 (patch) | |
tree | bb60d647b1e760a3f91ca9102d2e3b5ab00d22d5 | |
parent | Remove unused $PUBLIC_KEY_ONLY (diff) | |
download | server-0a4b7f71d18da078b9a4c02b111365f9f3339047.tar.gz server-0a4b7f71d18da078b9a4c02b111365f9f3339047.tar.xz |
Add quote around nested quote expansion
Thanks ShellCheck :)
-rwxr-xr-x | scripts/ci/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |