perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / shell / bash-completion / patches / 03-fix-gtar.patch
blob631c761148712e917b721e0f3f7f7a80c697d852
1 --- bash-completion-2.12.0/completions/tar.orig 2024-02-21 07:55:15.241887704 +0100
2 +++ bash-completion-2.12.0/completions/tar 2024-03-04 08:07:36.462849814 +0100
3 @@ -143,7 +143,7 @@
5 _comp_cmd_gtar__parse_help_line "$str" "$arg"
6 fi
7 - done <<<"$(tar --help)"
8 + done <<<"$(gtar --help)"
10 long_opts="\
11 $long_arg_none $long_arg_opt $long_arg_req"
12 @@ -156,7 +156,7 @@
14 local -a warnings=()
15 local lines line
16 - _comp_split -l lines "$(LC_ALL=C exec tar --warning= 2>&1)"
17 + _comp_split -l lines "$(LC_ALL=C exec gtar --warning= 2>&1)"
18 for line in "${line[@]}"; do
19 if [[ $line =~ ^[[:blank:]]*-[[:blank:]]*[\`\']([a-zA-Z0-9-]+)\'$ ]]; then
20 warnings+=("${BASH_REMATCH[1]}" "no-${BASH_REMATCH[1]}")