Совместимость со старым bash
This commit is contained in:
parent
1ff29c5c87
commit
9217079b4a
6
cmake.sh
6
cmake.sh
@ -178,13 +178,11 @@ EOF
|
||||
|
||||
export -f generate_configuration
|
||||
|
||||
BUILD_TYPES=()
|
||||
|
||||
if [ "x$SINGLE_TYPE" != "xn" ]; then
|
||||
BUILD_TYPES=("${SINGLE_TYPE}")
|
||||
else
|
||||
[ "x$QTCREATOR" == "xy" ] && BUILD_TYPES=("${BUILD_TYPES[@]}" "${QTCREATOR_BUILD_TYPES[@]}")
|
||||
[ "x$CMAKE" == "xy" ] && BUILD_TYPES=("${BUILD_TYPES[@]}" "${CMAKE_BUILD_TYPES[@]}")
|
||||
[ "x$QTCREATOR" == "xy" ] && BUILD_TYPES=("${QTCREATOR_BUILD_TYPES[@]}")
|
||||
[ "x$CMAKE" == "xy" ] && BUILD_TYPES=("${CMAKE_BUILD_TYPES[@]}")
|
||||
fi
|
||||
|
||||
if [ ${#BUILD_TYPES[@]} -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user