install-aws-server: Shell hygene.

This commit is contained in:
Alex Vandiver 2022-01-12 21:30:09 +00:00 committed by Tim Abbott
parent 1522eeaebf
commit 44b8321721
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,10 @@
#!/usr/bin/env bash
set -e
set -eu
set -o pipefail
SERVER=$1
ROLES=$2
BRANCH=$3
SERVER=${1:-}
ROLES=${2:-}
BRANCH=${3:-}
if [ -z "$SERVER" ] || [ -z "$ROLES" ]; then
echo "USAGE: $0 server roles [branch]"
echo