commit:     d17840f7364958fb69ffa3dc66d228eafba6652d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 13:34:44 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 13:34:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d17840f7

scripts/bootstrap-prefix: fix syntax for findutils check

Bug: https://bugs.gentoo.org/967030
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 423be0f2e7..c074dce025 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1775,8 +1775,8 @@ bootstrap_stage1() {
        fi
 
        [[ -x ${ROOT}/tmp/usr/bin/find ]] \
-               || [[ $(find --version 2>&1) == *GNU 4.9* ]] || \
-               || [[ $(find --version 2>&1) == *GNU 4.[12][012346789]* ]] || \
+               || [[ $(find --version 2>&1) == *"GNU 4.9"* ]] || \
+               || [[ $(find --version 2>&1) == *"GNU 4."[12][012346789]* ]] || 
\
                || (bootstrap_findutils) || return 1
        [[ -x ${ROOT}/tmp/usr/bin/tar ]] \
                || [[ $(tar --version 2>&1) == *"GNU 1."[3456789]* ]] \

Reply via email to