-
Notifications
You must be signed in to change notification settings - Fork 725
Fix bash completions for old versions #2238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2238 +/- ##
=======================================
Coverage 83.97% 83.97%
=======================================
Files 203 203
Lines 10120 10120
=======================================
Hits 8498 8498
Misses 1622 1622 Continue to review full report at Codecov.
|
280a22f
to
2b1ecbe
Compare
2b1ecbe
to
4633921
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
bors merge
2238: Fix bash completions for old versions r=townsend2010 a=luis4a0 Fixes #2237. Bash 3 complains when an array is indexed with a negative number. This PR checks for negative subindices where they can appear, so we can use the script with older versions. Co-authored-by: Luis Peñaranda <[email protected]>
Build failed: |
bors retry |
Build succeeded:
|
2238: Fix bash completions for old versions r=townsend2010 a=luis4a0 Fixes #2237. Bash 3 complains when an array is indexed with a negative number. This PR checks for negative subindices where they can appear, so we can use the script with older versions. Co-authored-by: Luis Peñaranda <[email protected]>
Fixes #2237.
Bash 3 complains when an array is indexed with a negative number. This PR checks for negative subindices where they can appear, so we can use the script with older versions.