diff options
author | Sam James <sam@gentoo.org> | 2022-06-30 12:23:36 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-30 12:23:36 +0000 |
commit | 8d2be45c944c600d38baf85975a9b4e3bd1a984a (patch) | |
tree | 79b3bf49cc5217734572d9d5bf0026172756c7ef | |
parent | bootstrap-prefix.sh: fix build with system cp (diff) | |
download | prefix-8d2be45c944c600d38baf85975a9b4e3bd1a984a.tar.gz prefix-8d2be45c944c600d38baf85975a9b4e3bd1a984a.tar.bz2 prefix-8d2be45c944c600d38baf85975a9b4e3bd1a984a.zip |
bootstrap-prefix.sh: fix if
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |