CI: Travis: build.sh: init CACHIX_SIGNING_KEY with default empty value

Due to new strict `set` rules `if` statement check agains empty variable was
failing the build, this fixes builds in PRs.

...sigh.

M  build.sh
This commit is contained in:
Anton-Latukha 2020-05-31 22:30:24 +03:00 committed by Anton Latukha
parent 6890eccfe3
commit 834d4cf567

View File

@ -30,6 +30,8 @@ generateOptparseApplicativeCompletions=${generateOptparseApplicativeCompletions:
allowInconsistentDependencies=${allowInconsistentDependencies:-'false'}
ghcjsTmpLogFile=${ghcjsTmpLogFile:-'/tmp/ghcjsTmpLogFile.log'}
ghcjsLogTailLength=${ghcjsLogTailLength:-'10000'}
# NOTE: If key not provided (branch is not inside the central repo) - init CACHIX_SIGNING_KEY as empty
CACHIX_SIGNING_KEY=${CACHIX_SIGNING_KEY:-""}
GHCJS_BUILD(){