Loading scripts/compile_dep.sh +3 −1 Original line number Diff line number Diff line Loading @@ -418,9 +418,11 @@ CMAKE="${CMAKE} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" echo "Sources download path = ${SOURCE_DIR}" echo "Installation path = ${INSTALL_DIR}" echo "Profile name: ${PROFILE_NAME}" echo "Profile version: ${PROFILE_VERSION}" echo "------------------------------------" mkdir -p "${SOURCE_DIR}" mkdir -p "${SOURCE_DIR}" || exit 1 ######### From now on exits on any error ######## set -e Loading scripts/dl_dep.sh +3 −1 Original line number Diff line number Diff line Loading @@ -470,9 +470,11 @@ if [[ -n "${DEPENDENCY}" && ! -n "${PROFILE_DEP_NAMES[${DEPENDENCY}]}" ]]; then fi echo "Destination path is set to \"${SOURCE_DIR}\"" echo "Profile name: ${PROFILE_NAME}" echo "Profile version: ${PROFILE_VERSION}" echo "------------------------------------" mkdir -p "${SOURCE_DIR}" mkdir -p "${SOURCE_DIR}" || exit 1 ## download dependencies for dep_name in "${PROFILE_DEP_LIST[@]}"; do Loading Loading
scripts/compile_dep.sh +3 −1 Original line number Diff line number Diff line Loading @@ -418,9 +418,11 @@ CMAKE="${CMAKE} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" echo "Sources download path = ${SOURCE_DIR}" echo "Installation path = ${INSTALL_DIR}" echo "Profile name: ${PROFILE_NAME}" echo "Profile version: ${PROFILE_VERSION}" echo "------------------------------------" mkdir -p "${SOURCE_DIR}" mkdir -p "${SOURCE_DIR}" || exit 1 ######### From now on exits on any error ######## set -e Loading
scripts/dl_dep.sh +3 −1 Original line number Diff line number Diff line Loading @@ -470,9 +470,11 @@ if [[ -n "${DEPENDENCY}" && ! -n "${PROFILE_DEP_NAMES[${DEPENDENCY}]}" ]]; then fi echo "Destination path is set to \"${SOURCE_DIR}\"" echo "Profile name: ${PROFILE_NAME}" echo "Profile version: ${PROFILE_VERSION}" echo "------------------------------------" mkdir -p "${SOURCE_DIR}" mkdir -p "${SOURCE_DIR}" || exit 1 ## download dependencies for dep_name in "${PROFILE_DEP_LIST[@]}"; do Loading