Code Review
/
releng
/
global-jjb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1be44d82a98437fc7cc8ef479d8265104f4639a6
[releng/global-jjb.git]
/
releasenotes
/
notes
/
handle-unbound-arrays-9a31a444687d18ce.yaml
1
---
2
fixes:
3
- |
4
Fix error with handling unbound arrays for search extensions, when using
5
`set -u`. The correct way of using this.
6
7
.. code-block:: bash
8
9
set -u
10
arr=()
11
echo "output: '${arr[@]}'"
12
bash: arr[@]: unbound variable
13
echo "output: '${arr[@]:-}'"
14
foo: ''