Skip to content

Commit

Permalink
fix: Properly escape $ sign inside .hcl file
Browse files Browse the repository at this point in the history
  • Loading branch information
cdalvaro committed Oct 1, 2024
1 parent c2da2eb commit 478783c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os-images/AWS/ubuntu/ubuntu.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ build {
execute_command = "sudo -E -H bash -c '{{ .Vars }} {{ .Path }}'"
inline = [
"if [[ '${var.distro_arch}' == 'x86_64' ]]; then",
" /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"",
" /bin/bash -c \"$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"",
"fi"
]
inline_shebang = "/bin/sh -ex"
Expand Down

0 comments on commit 478783c

Please sign in to comment.