Skip to content

Commit 636adb8

Browse files
author
Varun Rao Bhamidimarri
committed
Fix bug with the how the AWS_REGION was defined
1 parent ff2d326 commit 636adb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_emr_blog_v3/scripts/emr-steps/livy-update-kerberos-name-rules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -euo pipefail
33
set -x
4-
AWS_REGION={$1-'us-east-1'}
4+
AWS_REGION=${1-'us-east-1'}
55
DEFAULT_EC2_REALM='EC2\.INTERNAL'
66
echo $(tr '[:upper:]' '[:lower:]' <<< "$AWS_REGION")
77
if [[ $(tr '[:upper:]' '[:lower:]' <<< "$AWS_REGION") = "us-east-1" ]]; then

0 commit comments

Comments
 (0)