Skip to content
Snippets Groups Projects
Commit 85bea537 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing update_openfpm

parent bb612c35
No related branches found
No related tags found
No related merge requests found
Pipeline #2092 passed
...@@ -72,7 +72,7 @@ function update_openfpm() ...@@ -72,7 +72,7 @@ function update_openfpm()
if [ $cmake_result -ne 0 ]; then if [ $cmake_result -ne 0 ]; then
echo -e "Upgrade summary\033[91;5;1m FAILED \033[0m" echo -e "Upgrade summary\033[91;5;1m FAILED \033[0m"
return exit 1
fi fi
...@@ -93,12 +93,12 @@ function update_openfpm() ...@@ -93,12 +93,12 @@ function update_openfpm()
$conf_command $conf_command
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "Update summary\033[91;5;1m FAILED \033[0m" echo -e "Update summary\033[91;5;1m FAILED \033[0m"
return exit 1
fi fi
make make
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "Update summary\033[91;5;1m FAILED \033[0m" echo -e "Update summary\033[91;5;1m FAILED \033[0m"
return exit 1
else else
echo -e "Update summary\033[92;5;1m SUCCEED \033[0m" echo -e "Update summary\033[92;5;1m SUCCEED \033[0m"
echo -e "To make the update active do: \033[1m make install \033[0m" echo -e "To make the update active do: \033[1m make install \033[0m"
...@@ -109,7 +109,7 @@ function update_openfpm() ...@@ -109,7 +109,7 @@ function update_openfpm()
./install $dir_prev_inst $for_opt ./install $dir_prev_inst $for_opt
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "Upgrade summary\033[91;5;1m FAILED \033[0m" echo -e "Upgrade summary\033[91;5;1m FAILED \033[0m"
return exit 1
else else
echo -e "Upgrade summary\033[92;5;1m SUCCEED \033[0m" echo -e "Upgrade summary\033[92;5;1m SUCCEED \033[0m"
echo -e "To make the upgrade active do: \033[1m make install \033[0m" echo -e "To make the upgrade active do: \033[1m make install \033[0m"
......
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