Fix variable name in generate.sh (#32)

This commit is contained in:
Slava 2024-10-03 08:11:52 +03:00 committed by GitHub
parent 123c6861eb
commit 9161f77968
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ url=https://key.codex.storage
# Generate
echo "Generating private key from remote <${url}>..."
response=$(curl -s ${uri})
response=$(curl -s ${url})
awk -F ': ' '/private/ {print $2}' <<<"${response}" >"${key_file}"
awk -F ': ' '/address/ {print $2}' <<<"${response}" >"${address_file}"