Skip to content

Commit

Permalink
config/zfs-build.m4: add Gentoo's bash-completion path
Browse files Browse the repository at this point in the history
Followup e69ade3 by adding Gentoo's
bash completion path.

We should probably consider using/honouring the standard --with-bashcompletiondir
autoconf option as well, but that's something to do later.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Umer Saleem <[email protected]>
Signed-off-by: Sam James <[email protected]>
Closes openzfs#15372
  • Loading branch information
thesamesam authored and lundman committed Dec 11, 2023
1 parent 7c967c5 commit 2726ff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/zfs-build.m4
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [
ubuntu) bashcompletiondir=/usr/share/bash-completion/completions ;;
debian) bashcompletiondir=/usr/share/bash-completion/completions ;;
freebsd) bashcompletiondir=$sysconfdir/bash_completion.d;;
gentoo) bashcompletiondir=/usr/share/bash-completion/completions ;;
*) bashcompletiondir=/etc/bash_completion.d ;;
esac
AC_MSG_RESULT([$bashcompletiondir])
Expand Down

0 comments on commit 2726ff2

Please sign in to comment.