mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
scripts: completion.pl: sort the completion file for all shells
The reproducible builds effort in Debian has caught a regression in curl 8.13.0-rc1 but we were a bit slow to realize it. The ordering of the completion file for fish is not deterministic so it can differ between builds. Since there is no restriction about the order of the completion file for fish, let's just sort it too. Closes #16985
This commit is contained in:
parent
b676ae3b2a
commit
2f5e4e0db4
@ -153,7 +153,7 @@ sub parse_main_opts {
|
||||
$b =~ /([^=]*)/; my $mb = $1;
|
||||
|
||||
length($mb) <=> length($ma) || $ma cmp $mb
|
||||
} @list if $shell eq 'zsh';
|
||||
} @list;
|
||||
|
||||
return @list;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user