mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Whitespacing
This commit is contained in:
@@ -4,19 +4,19 @@ set -e
|
|||||||
# Get the version from the command line
|
# Get the version from the command line
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
if [ -z $VERSION ]; then
|
if [ -z $VERSION ]; then
|
||||||
echo "Please specify a version."
|
echo "Please specify a version."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure we have AWS API keys
|
# Make sure we have AWS API keys
|
||||||
if ([ -z $AWS_ACCESS_KEY_ID ] || [ -z $AWS_SECRET_ACCESS_KEY ]) && [ ! -z $HC_RELEASE ]; then
|
if ([ -z $AWS_ACCESS_KEY_ID ] || [ -z $AWS_SECRET_ACCESS_KEY ]) && [ ! -z $HC_RELEASE ]; then
|
||||||
echo "Please set your AWS access key information in the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env vars."
|
echo "Please set your AWS access key information in the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env vars."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $NOBUILD ] && [ -z $DOCKER_CROSS_IMAGE ]; then
|
if [ -z $NOBUILD ] && [ -z $DOCKER_CROSS_IMAGE ]; then
|
||||||
echo "Please set the Docker cross-compile image in DOCKER_CROSS_IMAGE"
|
echo "Please set the Docker cross-compile image in DOCKER_CROSS_IMAGE"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the parent directory of where this script is.
|
# Get the parent directory of where this script is.
|
||||||
|
|||||||
Reference in New Issue
Block a user