Code Review
/
releng
/
global-jjb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Feat!: Upgrade Jenkins-job-builder to 6x
[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: ''