diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-18 11:42:44 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-18 11:42:44 +0100 |
commit | c6f2bd9d1089f30b038999a486772a5abc9df692 (patch) | |
tree | 20fcf5dc7ef516649002e79384b42eace96f2723 /gdb/ada-lang.c | |
parent | b0cc81e87087bb8a6b12dc1e4fd7f2591927977b (diff) | |
download | binutils-c6f2bd9d1089f30b038999a486772a5abc9df692.zip binutils-c6f2bd9d1089f30b038999a486772a5abc9df692.tar.gz binutils-c6f2bd9d1089f30b038999a486772a5abc9df692.tar.bz2 |
[gdb/contrib] Fix spellcheck.sh for bash < 5.1
Since commit 5cb0406bb64 ("[gdb/contrib] Handle capitalized words in
spellcheck.sh"), spellcheck.sh uses '${pat@u}' which is available starting
bash 5.1, and consequently the script breaks with bash 4.4.
Fix this by checking for the bash version, and using an alternative
implementation for bash < 5.1.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions