Отдельный каталог для каждого варианта сборки

This commit is contained in:
Andrei Astafev 2019-02-19 11:06:48 +03:00
parent dc15c6ea8b
commit e15e1fb505

View File

@ -153,7 +153,11 @@ generate_configuration() {
fi
GEN_DIR="${BUILD_DIR}"
[ "x${SINGLE_TYPE}" == "xn" ] && GEN_DIR="${BUILD_DIR}/${BUILD}"
if [ "x${SINGLE_TYPE}" == "xn" ]; then
GEN_DIR="${BUILD_DIR}/${BUILD}"
else
GEN_DIR="${BUILD_DIR}/${SINGLE_TYPE}"
fi
[ -d "${GEN_DIR}" ] && return 0
mkdir -p "${GEN_DIR}"
pushd "${GEN_DIR}" 2>/dev/null