fix ifs in scripts

This commit is contained in:
Evan Simkowitz 2024-08-16 11:55:26 -07:00
parent 36193111e2
commit bc7938802f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
VERSION=$1
AWS_PROFILE=$2
if [ -z "$VERSION" || -z "$AWS_PROFILE" ]; then
if [ -z "$VERSION"] || [-z "$AWS_PROFILE" ]; then
echo "Usage: $0 <version> <aws-profile>"
exit
fi

View File

@ -4,7 +4,7 @@
VERSION=$1
AWS_PROFILE=$2
if [ -z "$VERSION" || -z "$AWS_PROFILE" ]; then
if [ -z "$VERSION"] || [-z "$AWS_PROFILE" ]; then
echo "Usage: $0 <version> <aws-profile>"
exit
fi