Revision 7ca67731
b/autotools/build-bash-completion | ||
---|---|---|
767 | 767 |
sw.Write("gnt_shopt_extglob=$(shopt -p extglob || :)") |
768 | 768 |
sw.Write("shopt -s extglob") |
769 | 769 |
|
770 |
# Remember original state of extglob and enable it (required for pattern |
|
771 |
# matching; must be enabled while parsing script) |
|
772 |
sw.Write("gnt_shopt_extglob=$(shopt -p extglob || :)") |
|
773 |
sw.Write("shopt -s extglob") |
|
774 |
|
|
775 | 770 |
WritePreamble(sw, not options.compact) |
776 | 771 |
|
777 | 772 |
# gnt-* scripts |
Also available in: Unified diff