mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
Satisfy Portage's bash-completions check by creating the symlinks even though the corresponding binaries are never built. Closes: https://bugs.gentoo.org/960679 Closes: https://bugs.gentoo.org/962784 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45370 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
14 lines
527 B
Diff
14 lines
527 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 6c7cae8a..d938f140 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -432,7 +432,7 @@ HEADING([Checking for bash])
|
|
dnl Bash must be at least version 4. If it is too old, fail hard
|
|
dnl with a good diagnostic. Note macOS ships an ancient version
|
|
dnl of bash (https://gitlab.com/nbdkit/nbdkit/-/issues/21)
|
|
-bash=`which bash`
|
|
+bash=$(command -v bash)
|
|
AC_MSG_CHECKING([for the major version of $bash])
|
|
bash_major=`bash -c 'echo ${BASH_VERSINFO:-0}'`
|
|
AC_MSG_RESULT([$bash_major])
|