From e1caf6986245ccbf0d0d53e7c740a09fa807d0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 13 Aug 2018 07:14:11 +0200 Subject: [PATCH] deploy.sh: fix unbound variables --- ci/deploy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index a0463f88b..542407565 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -2,8 +2,7 @@ set -x -eu -o pipefail # Exit with nonzero exit code if anything fails -#if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]] || [[ "$TRAVIS_EVENT_TYPE" == "api" ]]; then -if [[ -n "$encrypted_025d6e877aa4_key=" ]]; then +if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]] || [[ "$TRAVIS_EVENT_TYPE" == "api" ]]; then keys_dir=$(mktemp -d) openssl aes-256-cbc \ -K $encrypted_025d6e877aa4_key \