commit:     8d2be45c944c600d38baf85975a9b4e3bd1a984a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 12:23:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 12:23:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8d2be45c

bootstrap-prefix.sh: fix if

Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 7421fa3f57..96d52d8390 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1541,7 +1541,7 @@ bootstrap_stage1() {
                || [[ $(bison --version 2>&1) == *GNU" "Bison") "2.[3-7]* ]] \
                || [[ $(bison --version 2>&1) == *GNU" "Bison") "[3-9]* ]] \
                || (bootstrap_bison) || return 1
-       if [[ -x ${ROOT}/tmp/usr/bin/uniq ]]
+       if [[ -x ${ROOT}/tmp/usr/bin/uniq ]]; then
                if [[ $(uniq --version 2>&1) == *"(GNU coreutils) "[6789]* ]]; 
then
                        CP="cp"
                else

Reply via email to