Change ci/init-external-repos.sh to use base64 -d

The BusyBox version of `base64` does not have `--decode`.
This commit is contained in:
Jon Siwek 2021-03-31 10:47:22 -07:00
parent ade37c1dfc
commit 631f19377e
3 changed files with 8 additions and 2 deletions

View file

@ -52,7 +52,7 @@ if [[ -n "${CIRRUS_CI}" ]] && [[ ! -d zeek-testing-private ]]; then
banner "Trying to clone zeek-testing-private git repo"
echo "${ZEEK_TESTING_PRIVATE_SSH_KEY}" > cirrus_key.b64
base64 --decode cirrus_key.b64 > cirrus_key
base64 -d cirrus_key.b64 > cirrus_key
rm cirrus_key.b64
chmod 600 cirrus_key
git --version