Инициализация переменной CMAKE_ARGS

This commit is contained in:
Andrei Astafev 2019-03-13 19:51:01 +03:00
parent 9217079b4a
commit 120458b69c

View File

@ -89,7 +89,7 @@ while true; do
esac esac
done done
CMAKE_ARGS=() CMAKE_ARGS=""
[ ${#@} -gt 0 ] && CMAKE_ARGS=("${@}") [ ${#@} -gt 0 ] && CMAKE_ARGS=("${@}")
[ ! -f "${SOURCE_DIR}/CMakeLists.txt" ] && { echo "Source directory does not contain CMakeLists.txt"; exit 4; } [ ! -f "${SOURCE_DIR}/CMakeLists.txt" ] && { echo "Source directory does not contain CMakeLists.txt"; exit 4; }