-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bash: Treat cli_extra_args as an array
The proper way to treat the contents of $@ when assigned is as an array. Relying on IFS of a <space> is not robust. See the link for further information. Link: https://www.shellcheck.net/wiki/SC2086 Signed-off-by: Mark Grant <[email protected]> (cherry picked from commit 5f3a801) Signed-off-by: Mark Grant <[email protected]>
- Loading branch information
1 parent
b714119
commit bbc2cae
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters