mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-09 18:44:14 +00:00
fish: Fix manpage completion generation with paths containing spaces
Manual pages with spaces in their paths can lead to argument injection.
This commit is contained in:
parent
869f2ec2ad
commit
9657bb1d5c
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ in {
|
|||
for src in $srcs; do
|
||||
if [ -d $src/share/man ]; then
|
||||
find -L $src/share/man -type f \
|
||||
| xargs python ${cfg.package}/share/fish/tools/create_manpage_completions.py --directory $out \
|
||||
-exec python ${cfg.package}/share/fish/tools/create_manpage_completions.py --directory $out {} + \
|
||||
> /dev/null
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue