Commit 0bd45d1
committed
Fix unquoted argument iteration in tfenv-exec.sh
Fix #453: Quote ${@} in for-loop to prevent word-splitting.
"for _arg in ${@:1}" word-splits arguments containing spaces, breaking
terraform commands that pass quoted arguments (e.g. terraform import
with resource addresses containing brackets). Changed to "for _arg in
"${@}"" which preserves argument boundaries.1 parent fa8d238 commit 0bd45d1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments