From 3e874e883432e6c24afa3b18986825a1c9c44e5f Mon Sep 17 00:00:00 2001 From: Issam Maghni Date: Sat, 2 May 2020 17:49:36 -0400 Subject: =?UTF-8?q?bootstrap:=20Prefer=20=E2=80=9Ctest=20=E2=80=A6=20&&=20?= =?UTF-8?q?test=20=E2=80=A6=E2=80=9D=20over=20=E2=80=9Ctest=20=E2=80=A6=20?= =?UTF-8?q?-a=20=E2=80=A6=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html --- bootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap b/bootstrap index b59aa68..d46d45d 100755 --- a/bootstrap +++ b/bootstrap @@ -912,8 +912,8 @@ echo "`cmake_version_display`" # Check for in-source build cmake_in_source_build= -if test -f "${cmake_binary_dir}/Source/cmake.cxx" -a \ - -f "${cmake_binary_dir}/Source/cmake.h"; then +if test -f "${cmake_binary_dir}/Source/cmake.cxx" && + test -f "${cmake_binary_dir}/Source/cmake.h"; then if test -n "${cmake_verbose}"; then echo "Warning: This is an in-source build" fi @@ -1044,7 +1044,7 @@ cmake_toolchain_detect() done } -if test -z "${CC}" -a -z "${CXX}"; then +if test -z "${CC}" && test -z "${CXX}"; then cmake_toolchain_detect fi -- cgit v0.12