| 1 |
#!/bin/bash |
| 2 |
# |
| 3 |
# sample script to check that variables aren't expanded |
| 4 |
# when using the !include-raw-verbatim: 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 |
} |