| 1 |
#!/bin/bash |
| 2 |
# |
| 3 |
# sample script to check that brackets are expanded |
| 4 |
# when using the include-raw application yaml tag |
| 5 |
|
| 6 |
VAR1="hello" |
| 7 |
VAR2="world" |
| 8 |
VAR3="${{VAR1}} ${{VAR2}}" |
| 9 |
|
| 10 |
[[ -n "${{VAR3}}" ]] && {{ |
| 11 |
# this next section is executed as one |
| 12 |
echo "${{VAR3}}" |
| 13 |
exit 0 |
| 14 |
}} |