Skip to content
Snippets Groups Projects
Commit 1e99ca4c authored by Michal Kravcenko's avatar Michal Kravcenko
Browse files

MOD: modified bracketing in linux build script

parent 9508173a
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ then ...@@ -104,7 +104,7 @@ then
if [ ${BUILD_ERROR_OCCURED} = "0" ] if [ ${BUILD_ERROR_OCCURED} = "0" ]
then then
echo "Building the '${CYAN}lib4neuro${NC}' project for ${WHITE}Debug${NC} (building)" echo "Building the '${CYAN}lib4neuro${NC}' project for ${WHITE}Debug${NC} (building)"
( cmake --build . --config Debug -- -j${N_CORES} ) && ( echo "${GREEN}Build complete${NC}." ) || ( echo "${RED}Build finished with errors${NC}!"; export BUILD_ERROR_OCCURED=1; ) cmake --build . --config Debug -- -j${N_CORES} && echo "${GREEN}Build complete${NC}." || `echo "${RED}Build finished with errors${NC}!"; export BUILD_ERROR_OCCURED=1;`
fi fi
cd build_scripts/linux cd build_scripts/linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment