mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
bootstrap: test -a|o is not POSIX
This commit is contained in:
@@ -944,11 +944,10 @@ while test $# != 0; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Make sure the generator is valid
|
# Make sure the generator is valid
|
||||||
if test "${cmake_bootstrap_generator}" != "MSYS Makefiles" -a \
|
case "${cmake_bootstrap_generator}" in
|
||||||
"${cmake_bootstrap_generator}" != "Unix Makefiles" -a \
|
'MSYS Makefiles'|'Unix Makefiles'|'Ninja') ;;
|
||||||
"${cmake_bootstrap_generator}" != "Ninja"; then
|
*) cmake_error 10 "Invalid generator: ${cmake_bootstrap_generator}"
|
||||||
cmake_error 10 "Invalid generator: ${cmake_bootstrap_generator}"
|
esac
|
||||||
fi
|
|
||||||
|
|
||||||
# If verbose, display some information about bootstrap
|
# If verbose, display some information about bootstrap
|
||||||
if test -n "${cmake_verbose}"; then
|
if test -n "${cmake_verbose}"; then
|
||||||
|
Reference in New Issue
Block a user