diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2021-12-07 15:51:50 +0100 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-04-25 10:42:54 +0000 |
commit | a2664b8c98d7020b6f4b52518b465a83cd719a98 (patch) | |
tree | f3083ab693cb64fb8dd74b1bd1ee861080799905 /kubernetes/holmes | |
parent | 7028df99184a73b69d712ca2f6b0a72f00d2bfa9 (diff) |
[COMMON] Fix shopt nullglob bashism
pointed out by checkbashisms.
shopt, and therefore all the options it provides (only nullglob here)
are not defined by POSIX and are bash-specific.
The specific option nullglob is well documented in the bash manual.
In short, it makes filename globbing patterns that do not match any
filenames simply expanded to nothing rather than remaining unexpanded.
$ echo my*file
my*file
$ shopt -s nullglob
$ echo my*file
This is actually useless in the script where it is used here
since no blob is used to expand such filenames.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Id336c17a46c6e5c0748562e7cd8f0efa5570ce6d
Diffstat (limited to 'kubernetes/holmes')
0 files changed, 0 insertions, 0 deletions