rebuild without braces
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-03-12 14:00:18 +01:00
parent 8ef1761404
commit 60f06ed18b

View File

@ -1,17 +1,17 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "${GCE_SSH_KEY}" ]; then if [ "$GCE_SSH_KEY" ]; then
echo "${GCE_SSH_KEY}" > $HOME/.ssh/google_compute_engine echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
chmod 600 $HOME/.ssh/google_compute_engine chmod 600 $HOME/.ssh/google_compute_engine
fi fi
if [ "${GCE_CREDENTIALS_JSON}" ] && [ "${GCE_CREDENTIALS_FILE}" ]; then if [ "$GCE_CREDENTIALS_JSON" ] && [ "$GCE_CREDENTIALS_FILE" ]; then
DIR=$(dirname "${GCE_CREDENTIALS_FILE}") DIR=$(dirname "$GCE_CREDENTIALS_FILE")
mkdir -p "${DIR}" mkdir -p "${DIR}"
echo "${GCE_CREDENTIALS_JSON}" > "${GCE_CREDENTIALS_FILE}" echo "$GCE_CREDENTIALS_JSON" > "$GCE_CREDENTIALS_FILE"
fi fi
if [ "${MOLECULE_CUSTOM_MODULES_REPO}" ]; then if [ "${MOLECULE_CUSTOM_MODULES_REPO}" ]; then
mkdir ./library/ mkdir ./library/
git clone "${MOLECULE_CUSTOM_MODULES_REPO}" ./library/ git clone "$MOLECULE_CUSTOM_MODULES_REPO" ./library/
fi fi