15 lines
276 B
Bash
15 lines
276 B
Bash
#!/bin/bash
|
|
#
|
|
# sample script to check that brackets are expanded
|
|
# when using the include-raw application yaml tag
|
|
|
|
VAR1="hello"
|
|
VAR2="world"
|
|
VAR3="${{VAR1}} ${{VAR2}}"
|
|
|
|
[[ -n "${{VAR3}}" ]] && {{
|
|
# this next section is executed as one
|
|
echo "${{VAR3}}"
|
|
exit 0
|
|
}}
|