Commit b88152e
committed
fix(mysql): do not generate empty completion for charset
* Instead of replacing "Index.xml" with an empty string after the
pathname expansions, we now exclude "Index.xml" from the pathname
pattern.
* In case that there is an empty filename as
"/usr/share/mysql/charsets/.xml", we explicitly exclude empty
charset names by specifying the option, -X '', for compgen.1 parent 9dd2eab commit b88152e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments