From c57ff818f61483c3131dc4fb6dd87ede7ab29bba Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Oct 2023 20:50:06 +0100 Subject: [PATCH] config/zfs-build.m4: add Gentoo's bash-completion path Followup e69ade32e116e72d03068c03799924c3f1a15c95 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 Reviewed-by: Umer Saleem Signed-off-by: Sam James Closes #15372 --- config/zfs-build.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index e4197dc142..5f36569fe2 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -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])