Skip to content

Commit

Permalink
Change startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
david1542 committed Jul 25, 2024
1 parent c0bc352 commit 4370362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/deployments/aws-terraform/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ replace_env_value() {
local new_value=$3

# Use sed to replace the value of the variable
sed -i "s|${variable_name}=\"[^\"]*\"|${variable_name}=\"${new_value}\"|g" "$filename"
sed -i "s|$variable_name=\"[^\"]*\"|$variable_name=\"$new_value\"|g" "$filename"
}

apt-get update -y
Expand Down

0 comments on commit 4370362

Please sign in to comment.